Merge pull request #8462 from RonnyPfannschmidt/main_fixup_followup

port the rest of the scripts/docs over to the main branch
This commit is contained in:
Ronny Pfannschmidt
2021-03-27 15:49:20 +01:00
committed by GitHub
7 changed files with 27 additions and 27 deletions

View File

@@ -104,7 +104,7 @@ def install_importhook(config: Config) -> rewrite.AssertionRewritingHook:
def pytest_collection(session: "Session") -> None:
# This hook is only called when test modules are collected
# so for example not in the master process of pytest-xdist
# so for example not in the managing process of pytest-xdist
# (which does not collect test modules).
assertstate = session.config._store.get(assertstate_key, None)
if assertstate: