remove usage of final_logerrors now that we have better teardown information

This commit is contained in:
holger krekel
2011-12-02 21:03:58 +00:00
parent 1f6d410481
commit 8c6fea9895
6 changed files with 5 additions and 15 deletions

View File

@@ -314,7 +314,7 @@ def test_teardownfails_one_function(testdir):
@py.test.mark.xfail
def test_terminate_on_hangingnode(testdir):
p = testdir.makeconftest("""
def pytest__teardown_final(session):
def pytest_sessionfinishes(session):
if session.nodeid == "my": # running on slave
import time
time.sleep(3)