We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d24a30c commit 159c488Copy full SHA for 159c488
testing/test_terminal.py
@@ -1598,9 +1598,10 @@ def test_fail():
1598
"""
1599
)
1600
result = pytester.runpytest("--tb=line")
1601
- result.stdout.fnmatch_lines(["*- Captured stdout call -*"])
1602
- s = result.stdout.str()
1603
- assert output_to_capture in s
+ result.stdout.fnmatch_lines([
+ "*- Captured stdout call -*",
+ output_to_capture
1604
+ ])
1605
1606
def test_tb_crashline(self, pytester: Pytester, option) -> None:
1607
p = pytester.makepyfile(
0 commit comments