fix genscript by copying the new implementation from the genscript package
--HG-- branch : trunk
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
import py, os, sys
|
||||
import subprocess
|
||||
|
||||
pytestmark = py.test.mark.xfail(run=False,
|
||||
reason="XXX needs refactoring after pylib/pytest split")
|
||||
|
||||
def pytest_funcarg__standalone(request):
|
||||
return request.cached_setup(scope="module", setup=lambda: Standalone(request))
|
||||
@@ -20,7 +18,6 @@ class Standalone:
|
||||
testdir.chdir()
|
||||
return testdir._run(anypython, self.script, *args)
|
||||
|
||||
@pytestmark # XXX bug in application of global markers to generated functions?
|
||||
def test_gen(testdir, anypython, standalone):
|
||||
result = standalone.run(anypython, testdir, '-h')
|
||||
assert result.ret == 0
|
||||
|
||||
Reference in New Issue
Block a user