Closed janbernloehr closed 1 year ago
I'll take this temporarily, but there are some internal changes upcoming which might interfere. I'll try to remember not to break this again :)
released as 1.3.5dev4, install with pip install "pytest-testmon==1.3.5dev4"
please
When running testmon in conjunction with
pytest-forked
, the hook wrapperpytest_runtest_protocol
is called twice. Once on the original process and then again on the forked one. This leads toCoverage
hooks being reset (but not fully) which subsequently leads to crashes whenever a function trace is analyzed.Fixes #184