adapt to pytest trunk changes - config moved to plugin
This commit is contained in:
@@ -11,8 +11,8 @@ def pytest_funcarg__hookrecorder(request):
|
||||
|
||||
def pytest_funcarg__hook(request):
|
||||
from xdist import newhooks
|
||||
from pytest.pluginmanager import HookRelay, Registry
|
||||
from pytest.plugin import hookspec
|
||||
from pytest._core import HookRelay, Registry
|
||||
from pytest import hookspec
|
||||
return HookRelay([hookspec, newhooks], Registry())
|
||||
|
||||
class pytest_funcarg__mysetup:
|
||||
|
||||
Reference in New Issue
Block a user