pytest-cov icon indicating copy to clipboard operation
pytest-cov copied to clipboard

multiprocess support

Open edcarter opened this issue 4 years ago • 3 comments

Summary

Would you accept a patch to support the multiprocess library? https://pypi.org/project/multiprocess/

Currently the hooks in embed.py only install hooks for the built in multiprocessing library. I have written a small patch which adds the hooks for the multiprocess library as well so we can get code coverage for our pytests which use the multiprocess library. The patch is relatively small and simple.

edcarter avatar Apr 25 '21 22:04 edcarter

Sure, open up a PR, I'm really curious now :-)

ionelmc avatar Apr 25 '21 23:04 ionelmc

Alright, I will open up a PR tomorrow and let you see what code changes are needed.

Currently, I haven't updated any of the documentation or tests -- those will be the majority of the work needed to be done, but at least I can share the code first.

edcarter avatar Apr 25 '21 23:04 edcarter

Better late than never. I created the pull request for you to take a look at. It is really quite simple

edcarter avatar May 03 '21 20:05 edcarter