adapt xdist plugin - it still uses some internal imports

This commit is contained in:
holger krekel
2010-10-10 15:33:32 +02:00
parent dc67e46d59
commit 025f1d577e
7 changed files with 11 additions and 9 deletions

View File

@@ -11,8 +11,8 @@ def pytest_funcarg__hookrecorder(request):
def pytest_funcarg__hook(request):
from xdist import newhooks
from py._test.pluginmanager import HookRelay, Registry
from py._plugin import hookspec
from pytest.pluginmanager import HookRelay, Registry
from pytest.plugin import hookspec
return HookRelay([hookspec, newhooks], Registry())
class pytest_funcarg__mysetup: