summaryrefslogtreecommitdiff
path: root/test/spec_tests.py
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-03-28 15:28:00 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2016-03-28 15:28:00 -0700
commit6e8c3f6148ec586fd4cc5c89c644422dd6ec33d5 (patch)
tree7ac04d30250616a32835c3d2995af5f499c4d9db /test/spec_tests.py
parentdf5eed3b7fce2853e331c7de5294668c5b376334 (diff)
parent848ca96890db32eb98d44765886853bed626a4ee (diff)
Merge pull request #120 from nwellnhof/regression-tests
Add first regression tests
Diffstat (limited to 'test/spec_tests.py')
-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()