diff --git a/www/tests/test_file.py b/www/tests/test_file.py
index <HASH>..<HASH> 100644
--- a/www/tests/test_file.py
+++ b/www/tests/test_file.py
@@ -16,7 +16,7 @@ with open('compression/du cote de chez swann.txt', 'r') as f:
     counter = 0
     for line in f:
         counter += 1
-    assert counter == 2118
+    assert counter in [2117, 2118] # last LF might be removed
 
 try:
     with open('files/text-latin1.txt') as f:
In test_file.py, change test on number of lines read on text mode. Related to issue #<I>.