When I run coverage run -m pytest tests/ followed by coverage report in the terminal
I get the following error:
No source for code: '/private/var/.../_remote_module_non_scriptable.py'.
It seems like a similar issue has been resolved already, however I do not understand the solution.
Can a friendly soul help me understand what might be the cause of the problem?
nosetests --with-coverage --cover-eraseto accomplish the same thing. (3) Docoverage xml -i. Have you done any of those?coverage xml -iworked for me. Generally, the-ijust skipped the files it failed on (in my case the _remote_module_non_scriptable.py), so the prettier outputcoverage report -ialso worked. Thanks.