summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/test_examplefiles.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_examplefiles.py b/tests/test_examplefiles.py
index baf6978a..820a7bcd 100644
--- a/tests/test_examplefiles.py
+++ b/tests/test_examplefiles.py
@@ -49,6 +49,7 @@ def check_lexer(lx, absfn):
ntext = []
for type, val in lx.get_tokens(text):
ntext.append(val)
- assert type != Error, 'lexer generated error token for ' + absfn
+ assert type != Error, 'lexer %s generated error token for %s' % \
+ (lx, absfn)
if u''.join(ntext) != text:
raise AssertionError('round trip failed for ' + absfn)