1
0
forked from VimPlug/jedi

Avoid universal newlines even more

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

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: