Skip to content

Commit

Permalink
Fix broken test failure message
Browse files Browse the repository at this point in the history
  • Loading branch information
dlenski committed Dec 18, 2023
1 parent 50c7efe commit b41939d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def _check_decoding(filename, expected_format, expected_raw, extra={}, as_Image=
dec = test_reader.decode(what, pure_barcode=True, **extra)
if expected_raw is None:
assert dec.raw is None, (
'Expected failure, but got result in {} format'.format(expected_format, dec.format))
'Expected failure, but got result in {} format'.format(dec.format))
else:
assert dec.raw == expected_raw, (
'Expected {!r} but got {!r}'.format(expected_raw, dec.raw))
Expand Down

0 comments on commit b41939d

Please sign in to comment.