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 b2893a8 commit 966b434Copy full SHA for 966b434
coverage/tomlconfig.py
@@ -48,8 +48,8 @@ def read(self, filenames):
48
toml_text = substitute_variables(toml_text, os.environ)
49
try:
50
self.data = tomli.loads(toml_text)
51
- except tomli.TomlDecodeError as err:
52
- raise TomlDecodeError(*err.args)
+ except tomli.TOMLDecodeError as err:
+ raise TomlDecodeError(str(err))
53
return [filename]
54
else:
55
has_toml = re.search(r"^\[tool\.coverage\.", toml_text, flags=re.MULTILINE)
0 commit comments