Fix call to outcome.get_result now that outcome.result is deprecated

This commit is contained in:
Bruno Oliveira 2017-09-18 21:36:54 -03:00
parent 3ebfb881c9
commit afe7966683
1 changed files with 1 additions and 1 deletions

View File

@ -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"