Skip to content

Commit 9560576

Browse files
correct setting pytest.config
1 parent 76c92b0 commit 9560576

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_pytest/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def pytest_addoption(parser):
7676

7777

7878
def pytest_configure(config):
79-
pytest.config = config # compatibiltiy
79+
__import__('pytest').config = config # compatibiltiy
8080

8181

8282
def wrap_session(config, doit):

0 commit comments

Comments
 (0)