Skip to content

Commit

Permalink
Update Lib/test/test_math.py
Browse files Browse the repository at this point in the history
  • Loading branch information
skirpichev authored Feb 4, 2025
1 parent d88b55f commit b99661e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/test/test_math.py
Original file line number Diff line number Diff line change
Expand Up @@ -2533,7 +2533,7 @@ def test_exception_messages(self):
math.log(x)
x = -123
with self.assertRaisesRegex(ValueError,
f"expected a positive input"):
"expected a positive input"):
math.log(x)
with self.assertRaisesRegex(ValueError,
f"expected a float or nonnegative integer, got {x}"):
Expand Down

0 comments on commit b99661e

Please sign in to comment.