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 f5eab1f commit b39cc23Copy full SHA for b39cc23
tests/test_pytest_icdiff.py
@@ -52,7 +52,7 @@ def test_one():
52
)
53
# Force colorization in py TerminalWriter
54
testdir.monkeypatch.setenv('PY_COLORS', '1')
55
- output = testdir.runpytest().stdout.str()
+ output = testdir.runpytest('-vv').stdout.str()
56
print(repr(output))
57
two_left = f"'the number t{YELLOW_ON}wo{COLOR_OFF}'"
58
two_right = f"'the number t{YELLOW_ON}hree{COLOR_OFF}'"
@@ -215,8 +215,7 @@ def test_one():
215
output = testdir.runpytest('-vv', '--color=yes').stdout.str()
216
comparison_line = next(
217
l for l in output.splitlines()
218
- if "hell" in l
219
- and "assert" not in l
+ if "hell" in l and "assert" not in l
220
221
assert comparison_line.count('hell') < 15
222
0 commit comments