From 956389fa8cfe97287eb4b100bb45656062aad592 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Fri, 17 Jan 2020 11:13:27 +0100 Subject: [PATCH] Session._fixturemanager --- src/_pytest/main.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/_pytest/main.py b/src/_pytest/main.py index fc92ec10f..a0f180cac 100644 --- a/src/_pytest/main.py +++ b/src/_pytest/main.py @@ -15,6 +15,7 @@ from _pytest import nodes from _pytest.config import directory_arg from _pytest.config import hookimpl from _pytest.config import UsageError +from _pytest.fixtures import FixtureManager from _pytest.outcomes import exit from _pytest.runner import collect_one_node from _pytest.runner import SetupState @@ -377,7 +378,10 @@ class _bestrelpath_cache(dict): class Session(nodes.FSCollector): Interrupted = Interrupted Failed = Failed + # Set on the session by runner.pytest_sessionstart. _setupstate = None # type: SetupState + # Set on the session by fixtures.pytest_sessionstart. + _fixturemanager = None # type: FixtureManager def __init__(self, config): nodes.FSCollector.__init__(