yay! now that we have perfect teardowns we don't need some ugly internal hooks anymore.

This commit is contained in:
holger krekel
2011-12-02 21:00:21 +00:00
parent c4fe622b82
commit 8307270cec
6 changed files with 3 additions and 21 deletions

View File

@@ -48,13 +48,6 @@ def pytest_terminal_summary(terminalreporter):
def pytest_sessionstart(session):
session._setupstate = SetupState()
def pytest_sessionfinish(session, exitstatus):
hook = session.config.hook
rep = hook.pytest__teardown_final(session=session)
if rep:
hook.pytest__teardown_final_logerror(session=session, report=rep)
session.exitstatus = 1
class NodeInfo:
def __init__(self, location):
self.location = location