Skip to content

Commit da4abd1

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 43b451e commit da4abd1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testing/python/approx.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,9 @@ def test_negative_tolerance(
143143

144144
def test_negative_tolerance_message(self):
145145
# Error message for negative tolerance should include the value.
146-
with pytest.raises(ValueError, match='-3'):
146+
with pytest.raises(ValueError, match="-3"):
147147
0 == approx(1, abs=-3)
148-
with pytest.raises(ValueError, match='-3'):
148+
with pytest.raises(ValueError, match="-3"):
149149
0 == approx(1, rel=-3)
150150

151151
def test_inf_tolerance(self):

0 commit comments

Comments
 (0)