Skip to content

Commit 40ce112

Browse files
committed
better test failure output
1 parent 8bd4a62 commit 40ce112

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def assert_equality(
4444
this_dir = os.path.dirname(os.path.abspath(__file__))
4545
with open(os.path.join(this_dir, filename), encoding="utf-8") as f:
4646
reference = f.read()
47-
assert reference == code, _unidiff_output(reference, code)
47+
assert reference == code, filename + "\n" + _unidiff_output(reference, code)
4848

4949
if assert_compilation:
5050
plot()

0 commit comments

Comments
 (0)