Skip to content

Commit 956389f

Browse files
committed
Session._fixturemanager
1 parent e98176c commit 956389f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/_pytest/main.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
from _pytest.config import directory_arg
1616
from _pytest.config import hookimpl
1717
from _pytest.config import UsageError
18+
from _pytest.fixtures import FixtureManager
1819
from _pytest.outcomes import exit
1920
from _pytest.runner import collect_one_node
2021
from _pytest.runner import SetupState
@@ -377,7 +378,10 @@ def __missing__(self, path: str) -> str:
377378
class Session(nodes.FSCollector):
378379
Interrupted = Interrupted
379380
Failed = Failed
381+
# Set on the session by runner.pytest_sessionstart.
380382
_setupstate = None # type: SetupState
383+
# Set on the session by fixtures.pytest_sessionstart.
384+
_fixturemanager = None # type: FixtureManager
381385

382386
def __init__(self, config):
383387
nodes.FSCollector.__init__(

0 commit comments

Comments
 (0)