-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
concurrent usage of settrace doesn't work in Python ecosystem #97
Labels
Comments
This was referenced Apr 21, 2018
webknjaz
added a commit
to cherrypy/cheroot
that referenced
this issue
Apr 21, 2018
pytest-testmon is incompatible with pytest-cov now, because they compete on using sys.settrace hook Refs: * tarpas/pytest-testmon#86 * tarpas/pytest-testmon#97 * https://coverage.readthedocs.io/en/coverage-4.5.1/trouble.html#things-that-don-t-work
Reading https://nedbatchelder.com/text/trace-function.html this is unlikely to be fixed very soon.... |
what is the state of play on this? Is there a roadmap to |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As a result, testmon is not compatible with most debuggers, tracing and coverage tools.
From:
https://coverage.readthedocs.io/en/6.5.0/trouble.html#things-that-don-t-work
sys.settrace is the Python feature that coverage.py uses to see what’s happening in your program. If another part of your program is using sys.settrace, then it will conflict with coverage.py, and it won’t be measured properly.
The text was updated successfully, but these errors were encountered: