port the rest of the scripts/docs over to the main branch

This commit is contained in:
Ronny Pfannschmidt
2021-03-18 22:13:12 +01:00
parent 35df3e68d5
commit ff6d5ae278
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: