[svn r63600] merge remaining content of event.py into runner.py.
--HG-- branch : trunk
This commit is contained in:
@@ -14,8 +14,8 @@ class DefaultPlugin:
|
||||
return True
|
||||
|
||||
def pytest_item_makereport(self, item, excinfo, when, outerr):
|
||||
from py.__.test import event
|
||||
return event.ItemTestReport(item, excinfo, when, outerr)
|
||||
from py.__.test import runner
|
||||
return runner.ItemTestReport(item, excinfo, when, outerr)
|
||||
|
||||
def pytest_pyfunc_call(self, pyfuncitem, args, kwargs):
|
||||
pyfuncitem.obj(*args, **kwargs)
|
||||
|
||||
Reference in New Issue
Block a user