Skip to content

Commit afe7966

Browse files
committed
Fix call to outcome.get_result now that outcome.result is deprecated
1 parent 3ebfb88 commit afe7966

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing/python/collect.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -841,7 +841,7 @@ def test_customized_pymakeitem(self, testdir):
841841
def pytest_pycollect_makeitem():
842842
outcome = yield
843843
if outcome.excinfo is None:
844-
result = outcome.result
844+
result = outcome.get_result()
845845
if result:
846846
for func in result:
847847
func._some123 = "world"

0 commit comments

Comments
 (0)