Skip to content

Commit 206802e

Browse files
committed
show full output when failure
1 parent 8aaf391 commit 206802e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_flake8_force.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def _flake8(test_input, *, cython=False, force=False):
2020
results = []
2121
for line in proc.stdout.splitlines():
2222
m = re.fullmatch(r"(.+?):(\d+):(\d+): (.+?) (.+?)", line)
23-
assert m is not None, f'unexpected output: {line}'
23+
assert m is not None, f'unexpected output: {proc.stdout}'
2424
results.append(
2525
(int(m.group(2)), int(m.group(3)), m.group(4), m.group(5)))
2626
return results

0 commit comments

Comments
 (0)