Avoid universal newlines even more

This commit is contained in:
Dave Halter committed 2020-03-01 01:12:47 +01:00
1 parent a2b8c44e8f
commit fd23946de3
5 files changed
+11 -8

No files matched your search

+1 -1
View File
@@ -411,7 +411,7 @@ def collect_dir_tests(base_dir, test_files, check_thirdparty=False):
path = os.path.join(base_dir, f_name)
if is_py3:
with open(path, encoding='utf-8') as f:
with open(path, encoding='utf-8', newline='') as f:
source = f.read()
else:
with open(path) as f: