fix a bug with funcarg setup and remove XXX comment because "scope=module" now would work but leaving it as session for now.

--HG--
branch : trunk
This commit is contained in:
holger krekel
2009-09-09 23:07:42 +02:00
parent 6d84da39e4
commit 22c1ad9f7b
4 changed files with 28 additions and 6 deletions

View File

@@ -10,7 +10,7 @@ def pytest_generate_tests(metafunc):
metafunc.addcall(id=gwtype, param=gwtype)
def pytest_funcarg__gw(request):
scope = "session" # XXX module causes problems with -n 3!
scope = "session"
if request.param == "popen":
return request.cached_setup(
setup=py.execnet.PopenGateway,