put in a singular namespace hook to work around the strange issue

This commit is contained in:
Ronny Pfannschmidt 2017-03-28 10:28:43 +02:00
parent ebeba79be3
commit afb1778294
1 changed files with 10 additions and 0 deletions

View File

@ -77,6 +77,16 @@ def pytest_addoption(parser):
help="base temporary directory for this test run.")
def pytest_namespace():
"""keeping this one works around a deeper startup issue in pytest
i tried to find it for a while but the amount of time turned unsustainable,
so i put a hack in to revisit later
"""
return {}
def pytest_configure(config):
__import__('pytest').config = config # compatibiltiy