* rename, cleanup and document runtest hooks
* factor runner code into pytest_runner plugin * cleanup setupstate handling --HG-- branch : trunk
This commit is contained in:
@@ -10,7 +10,7 @@ example:
|
||||
"""
|
||||
import py
|
||||
|
||||
def pytest_item_makereport(__call__, item, excinfo, when, outerr):
|
||||
def pytest_runtest_makereport(__call__, item, excinfo, when, outerr):
|
||||
if hasattr(item, 'obj') and hasattr(item.obj, 'func_dict'):
|
||||
if 'xfail' in item.obj.func_dict:
|
||||
res = __call__.execute(firstresult=True)
|
||||
|
||||
Reference in New Issue
Block a user