Merge pull request #4421 from RonnyPfannschmidt/remove-pytest-namespace

remove pytest namespace hook
This commit is contained in:
Anthony Sottile
2018-11-19 09:35:33 -08:00
committed by GitHub
5 changed files with 1 additions and 80 deletions

View File

@@ -610,13 +610,6 @@ class Config(object):
self.pluginmanager.register(self, "pytestconfig")
self._configured = False
self.invocation_dir = py.path.local()
def do_setns(dic):
import pytest
setns(pytest, dic)
self.hook.pytest_namespace.call_historic(do_setns, {})
self.hook.pytest_addoption.call_historic(kwargs=dict(parser=self._parser))
def add_cleanup(self, func):