summaryrefslogtreecommitdiff
path: root/_pytest/nose.py
diff options
context:
space:
mode:
authorholger krekel <holger@merlinux.eu>2011-07-05 21:23:59 +0200
committerholger krekel <holger@merlinux.eu>2011-07-05 21:23:59 +0200
commit758b5e3511e8208b8c875cf2938c12c8dca37f4f (patch)
tree01a23e26c73c6f1e7619ac628e37e43e2ace2f40 /_pytest/nose.py
parente91dc7c8957d1a9875cc9e034fe575c79b5ad4b7 (diff)
downloadpytest-758b5e3511e8208b8c875cf2938c12c8dca37f4f.tar.gz
fix issue53: nose-style setup now called with the correct ordering
Diffstat (limited to '_pytest/nose.py')
-rw-r--r--_pytest/nose.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/_pytest/nose.py b/_pytest/nose.py
index 2f90a93f8..5560e473d 100644
--- a/_pytest/nose.py
+++ b/_pytest/nose.py
@@ -13,6 +13,7 @@ def pytest_runtest_makereport(__multicall__, item, call):
call.excinfo = call2.excinfo
+@pytest.mark.trylast
def pytest_runtest_setup(item):
if isinstance(item, (pytest.Function)):
if isinstance(item.parent, pytest.Generator):