You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that pytest-cov cannot detect code coverage for any function run in a subprocess using the decorator function in multiproc.py. I am not clear if this is a multiprocessing issue of a decorator issue. This needs to be resolved to get anything near accurate code coverage.
We could also consider trying the coverage module. This is what is currently set up in the Makefile (see #8) but we are using pytext-cov on Travis currently.
It appears that pytest-cov cannot detect code coverage for any function run in a subprocess using the decorator function in
multiproc.py
. I am not clear if this is a multiprocessing issue of a decorator issue. This needs to be resolved to get anything near accurate code coverage.There is some information on pytest-cov subprocesses here: https://pytest-cov.readthedocs.io/en/latest/subprocess-support.html.
It is likely due to pathos not being compatible with code coverage tools 😞
The text was updated successfully, but these errors were encountered: