From e79a312b921c7ae255bfd3b58c7780e7c3a23b9d Mon Sep 17 00:00:00 2001 From: holger krekel Date: Thu, 21 Jun 2012 11:30:10 +0200 Subject: [PATCH] fix internal test setup failure --- testing/conftest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/testing/conftest.py b/testing/conftest.py index b73936fc1..0883babd8 100644 --- a/testing/conftest.py +++ b/testing/conftest.py @@ -46,6 +46,7 @@ def check_open_files(config): config._numfiles = len(lines2) raise AssertionError("\n".join(error)) +@pytest.mark.tryfirst # XXX rather do item.addfinalizer def pytest_runtest_setup(item): item._oldir = py.path.local()