Fix call to outcome.get_result now that outcome.result is deprecated
This commit is contained in:
parent
3ebfb881c9
commit
afe7966683
|
@ -841,7 +841,7 @@ class TestConftestCustomization(object):
|
|||
def pytest_pycollect_makeitem():
|
||||
outcome = yield
|
||||
if outcome.excinfo is None:
|
||||
result = outcome.result
|
||||
result = outcome.get_result()
|
||||
if result:
|
||||
for func in result:
|
||||
func._some123 = "world"
|
||||
|
|
Loading…
Reference in New Issue