coverage not collected for multiprocessing.Process
Coverage is not reported for anything executed within the multiprocessing.Process. There is a bug report for coveragepy (#117), but since cov-core tries to start coverage in subprocesses, it seems like this is the best place for the report. The following link is for the coveragepy report, which has a great minimal working example:
Using py.test and pytest-cov, I find that coverage doesn't start in multiprocessing.Process processes. I have tried manually doing "import cov_core_init; cov_core_init.init()" to rule out the possibility that init_cov_core.pth wasn't getting run, but this doesn't seem to help. Besides, the coverage tracer appears to be correctly installed when I look at sys.gettrace(). I also confirmed that the COV_CORE_* environment variables are properly set.
I feel like I've exhausted the really simple possibilities, and there must be something more subtle going on. I'm not too familiar with coveragepy or cov-core or pytest-cov, so I'm not really sure where to look next. Is there any other information I can provide that would be helpful?