From afe7966683903316866bee75fcb3c94414449011 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Mon, 18 Sep 2017 21:36:54 -0300 Subject: [PATCH] Fix call to outcome.get_result now that outcome.result is deprecated --- testing/python/collect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/python/collect.py b/testing/python/collect.py index 6b9c6db4e..ccd5c11e7 100644 --- a/testing/python/collect.py +++ b/testing/python/collect.py @@ -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"