Skip to content

Commit b39cc23

Browse files
committed
flaking
1 parent f5eab1f commit b39cc23

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/test_pytest_icdiff.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def test_one():
5252
)
5353
# Force colorization in py TerminalWriter
5454
testdir.monkeypatch.setenv('PY_COLORS', '1')
55-
output = testdir.runpytest().stdout.str()
55+
output = testdir.runpytest('-vv').stdout.str()
5656
print(repr(output))
5757
two_left = f"'the number t{YELLOW_ON}wo{COLOR_OFF}'"
5858
two_right = f"'the number t{YELLOW_ON}hree{COLOR_OFF}'"
@@ -215,8 +215,7 @@ def test_one():
215215
output = testdir.runpytest('-vv', '--color=yes').stdout.str()
216216
comparison_line = next(
217217
l for l in output.splitlines()
218-
if "hell" in l
219-
and "assert" not in l
218+
if "hell" in l and "assert" not in l
220219
)
221220
assert comparison_line.count('hell') < 15
222221

0 commit comments

Comments
 (0)