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:
parent
d9992558fc
commit
7d59b2e350
|
@ -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([
|
||||||
|
|
Loading…
Reference in New Issue