We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fe106b commit ad09cbcCopy full SHA for ad09cbc
coverage/tomlconfig.py
@@ -40,7 +40,7 @@ def read(self, filenames):
40
filename = os.fspath(filenames)
41
42
try:
43
- with open(filename, encoding='utf-8') as fp:
+ with open(filename, encoding='utf-8', newline='') as fp:
44
toml_text = fp.read()
45
except OSError:
46
return []
0 commit comments