Fix call to outcome.force_result

Even though the test is not running at the moment (xfail), at least
we avoid future confusion
This commit is contained in:
Bruno Oliveira 2017-09-05 19:08:20 -03:00
parent d9992558fc
commit 7d59b2e350
1 changed files with 1 additions and 1 deletions

View File

@ -281,7 +281,7 @@ class TestPrunetraceback(object):
outcome = yield outcome = yield
rep = outcome.get_result() rep = outcome.get_result()
rep.headerlines += ["header1"] rep.headerlines += ["header1"]
outcome.set_result(rep) outcome.force_result(rep)
""") """)
result = testdir.runpytest(p) result = testdir.runpytest(p)
result.stdout.fnmatch_lines([ result.stdout.fnmatch_lines([