File tree 2 files changed +12
-3
lines changed
2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -60,9 +60,17 @@ def pytest_addoption(parser):
60
60
61
61
@hookspec (historic = True )
62
62
def pytest_configure (config ):
63
- """ called after command line options have been parsed
64
- and all plugins and initial conftest files been loaded.
65
- This hook is called for every plugin.
63
+ """
64
+ Allows plugins and conftest files to perform initial configuration.
65
+
66
+ This hook is called for every plugin and initial conftest file
67
+ after command line options have been parsed.
68
+
69
+ After that, the hook is called for other conftest files as they are
70
+ imported.
71
+
72
+ :arg config: pytest config object
73
+ :type config: _pytest.config.Config
66
74
"""
67
75
68
76
# -------------------------------------------------------------------------
Original file line number Diff line number Diff line change
1
+ Clarify ``pytest_configure`` hook call order.
You can’t perform that action at this time.
0 commit comments