pytest-testmon
pytest-testmon copied to clipboard
ModuleNotFoundError: No module named 'coverage.tracer'
Only in Python 3.11
Interesting. After a short investigation I realized that you probably don't have the C extensions installed (there doesn't seem to be 3.11 wheels for coverage available yet.)
you can check with coverage --version
and it'll say Coverage.py, version 6.3.2 without C extension
testmon should check for this and put out better error message. Also, of course support for the PyTracer could be done. There is no ETA, please use testmon with coverage + C extension.
I am using Github Actions for reproducing this, and I actually confused:
Fixed in v 1.4.0.
How do I fix this?
just update to the latest version