From afb1778294bf4d4cd93d8695873d0101c3db18bf Mon Sep 17 00:00:00 2001 From: Ronny Pfannschmidt Date: Tue, 28 Mar 2017 10:28:43 +0200 Subject: [PATCH] put in a singular namespace hook to work around the strange issue --- _pytest/main.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/_pytest/main.py b/_pytest/main.py index f18466162..ec6657ae9 100644 --- a/_pytest/main.py +++ b/_pytest/main.py @@ -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