Skip to content

Commit a87f4a7

Browse files
Update src/_pytest/config/__init__.py
Co-authored-by: Bruno Oliveira <[email protected]>
1 parent 60acd06 commit a87f4a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_pytest/config/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1667,7 +1667,7 @@ def _getini(self, name: str):
16671667
try:
16681668
return float(value)
16691669
except ValueError:
1670-
raise ValueError(f"invalid float value {value!r}") from None
1670+
raise ValueError(f"invalid float value for option {name}: {value!r}") from None
16711671
elif type is None:
16721672
return value
16731673
else:

0 commit comments

Comments
 (0)