fix internal test setup failure
This commit is contained in:
parent
42d44bfd43
commit
e79a312b92
|
@ -46,6 +46,7 @@ def check_open_files(config):
|
||||||
config._numfiles = len(lines2)
|
config._numfiles = len(lines2)
|
||||||
raise AssertionError("\n".join(error))
|
raise AssertionError("\n".join(error))
|
||||||
|
|
||||||
|
@pytest.mark.tryfirst # XXX rather do item.addfinalizer
|
||||||
def pytest_runtest_setup(item):
|
def pytest_runtest_setup(item):
|
||||||
item._oldir = py.path.local()
|
item._oldir = py.path.local()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue