From 7d59b2e350cbff1454355bc5225fc0f93bbba3a7 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Tue, 5 Sep 2017 19:08:20 -0300 Subject: [PATCH] Fix call to outcome.force_result Even though the test is not running at the moment (xfail), at least we avoid future confusion --- testing/test_collection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/test_collection.py b/testing/test_collection.py index 1fc1a5d89..a4ed9f22c 100644 --- a/testing/test_collection.py +++ b/testing/test_collection.py @@ -281,7 +281,7 @@ class TestPrunetraceback(object): outcome = yield rep = outcome.get_result() rep.headerlines += ["header1"] - outcome.set_result(rep) + outcome.force_result(rep) """) result = testdir.runpytest(p) result.stdout.fnmatch_lines([