adapt to pytest trunk changes - config moved to plugin

This commit is contained in:
holger krekel
2010-10-12 15:00:37 +02:00
parent d83af5fdcd
commit 7b73e081fe
5 changed files with 10 additions and 47 deletions

View File

@@ -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: