fix issue93 - avoid "delayed" teardowns for distributed testing by

simplifying handling of teardowns.
This commit is contained in:
holger krekel
2011-12-02 21:00:19 +00:00
parent b28977fbaf
commit c4fe622b82
8 changed files with 55 additions and 51 deletions

View File

@@ -689,7 +689,7 @@ class TestRequest:
teardownlist = item.getparent(pytest.Module).obj.teardownlist
ss = item.session._setupstate
assert not teardownlist
ss.teardown_exact(item)
ss.teardown_exact(item, None)
print(ss.stack)
assert teardownlist == [1]