[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2021-03-16 19:10:50 +00:00
parent 43b451e95e
commit da4abd1c82
1 changed files with 2 additions and 2 deletions

View File

@ -143,9 +143,9 @@ class TestApprox:
def test_negative_tolerance_message(self):
# Error message for negative tolerance should include the value.
with pytest.raises(ValueError, match='-3'):
with pytest.raises(ValueError, match="-3"):
0 == approx(1, abs=-3)
with pytest.raises(ValueError, match='-3'):
with pytest.raises(ValueError, match="-3"):
0 == approx(1, rel=-3)
def test_inf_tolerance(self):