aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/spec_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/spec_tests.py b/test/spec_tests.py
index d5b4d05..1521a82 100755
--- a/test/spec_tests.py
+++ b/test/spec_tests.py
@@ -87,7 +87,7 @@ def get_tests(specfile):
header_re = re.compile('#+ ')
- with open(specfile, 'r', encoding='utf-8') as specf:
+ with open(specfile, 'r', encoding='utf-8', newline='\n') as specf:
for line in specf:
line_number = line_number + 1
l = line.strip()