summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/test_examplefiles.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_examplefiles.py b/tests/test_examplefiles.py
index d64756ff..2f6efa21 100644
--- a/tests/test_examplefiles.py
+++ b/tests/test_examplefiles.py
@@ -41,6 +41,7 @@ def test_example_files():
def check_lexer(lx, absfn):
text = open(absfn, 'rb').read()
+ text = text.replace(b('\r\n'), b('\n'))
text = text.strip(b('\n')) + b('\n')
try:
text = text.decode('utf-8')