slightly refine invocation of py.test: use the py lib that we got invoked with,
does away with the need to not-chdir some tests --HG-- branch : trunk
This commit is contained in:
@@ -4,8 +4,6 @@ import subprocess
|
||||
def pytest_funcarg__standalone(request):
|
||||
return request.cached_setup(scope="module", setup=lambda: Standalone(request))
|
||||
|
||||
pytestmark = py.test.mark.nochdir
|
||||
|
||||
class Standalone:
|
||||
def __init__(self, request):
|
||||
self.testdir = request.getfuncargvalue("testdir")
|
||||
|
||||
Reference in New Issue
Block a user