Skip to content

Commit

Permalink
Fix call to outcome.get_result now that outcome.result is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoddemus committed Sep 19, 2017
1 parent 3ebfb88 commit afe7966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/python/collect.py
Original file line number Diff line number Diff line change
Expand Up @@ -841,7 +841,7 @@ def test_customized_pymakeitem(self, testdir):
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"
Expand Down

0 comments on commit afe7966

Please sign in to comment.