Skip to content

Commit afb1778

Browse files
put in a singular namespace hook to work around the strange issue
1 parent ebeba79 commit afb1778

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

_pytest/main.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,16 @@ def pytest_addoption(parser):
7777
help="base temporary directory for this test run.")
7878

7979

80+
81+
def pytest_namespace():
82+
"""keeping this one works around a deeper startup issue in pytest
83+
84+
i tried to find it for a while but the amount of time turned unsustainable,
85+
so i put a hack in to revisit later
86+
"""
87+
return {}
88+
89+
8090
def pytest_configure(config):
8191
__import__('pytest').config = config # compatibiltiy
8292

0 commit comments

Comments
 (0)