summaryrefslogtreecommitdiff
path: root/tests/test_examplefiles.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2011-06-19 09:45:13 +0200
committerGeorg Brandl <georg@python.org>2011-06-19 09:45:13 +0200
commita275a0c40bc4dcd48f52e04e056d03cecb73e973 (patch)
tree142f5c6af5cb5348bc19010cdef29216bbc748a1 /tests/test_examplefiles.py
parent8e50a30370b1ad58d8ec308d5ee7d4e7d153bc4a (diff)
parent0466a590eaf5face40a52d2ea245dc3f061723ef (diff)
downloadpygments-a275a0c40bc4dcd48f52e04e056d03cecb73e973.tar.gz
Merge with https://bitbucket.org/dvarrazzo/pygments-postgres
Diffstat (limited to 'tests/test_examplefiles.py')
-rw-r--r--tests/test_examplefiles.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_examplefiles.py b/tests/test_examplefiles.py
index 877cbecf..5c5e22eb 100644
--- a/tests/test_examplefiles.py
+++ b/tests/test_examplefiles.py
@@ -64,6 +64,8 @@ def check_lexer(lx, absfn, outfn):
(lx, absfn)
tokens.append((type, val))
if u''.join(ntext) != text:
+ print '\n'.join(difflib.unified_diff(u''.join(ntext).splitlines(),
+ text.splitlines()))
raise AssertionError('round trip failed for ' + absfn)
# check output against previous run if enabled