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
@@ -7,7 +7,7 @@ with open('files/text-utf8.txt') as f:
     f.read()
 
 with open('compression/du cote de chez swann.txt', 'rb') as f:
-    assert len(f.read()) == 1_056_294
+    assert len(f.read()) in [1_054_176, 1_056_294]
 
 with open('compression/du cote de chez swann.txt', 'r') as f:
     assert len(f.readlines()) == 2118
Change test on length of result of file.read() to handle different length of line feed (1 or 2 characters). Related to issue #<I>.