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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user