ci: revisit coverage reporting
This brings coverage back that got missing with 9dcd6f2.
Continuation of #4839 / #4846.
This commit is contained in:
@@ -1313,8 +1313,7 @@ class TestEarlyRewriteBailout(object):
|
||||
# always (previously triggered via xdist only).
|
||||
# Ref: https://github.com/pytest-dev/py/pull/207
|
||||
monkeypatch.setattr(sys, "path", [""] + sys.path)
|
||||
if "pathlib" in sys.modules:
|
||||
del sys.modules["pathlib"]
|
||||
monkeypatch.delitem(sys.modules, "pathlib", raising=False)
|
||||
|
||||
testdir.makepyfile(
|
||||
**{
|
||||
|
||||
Reference in New Issue
Block a user