From da4abd1c8273b39b5bc7d22c1e99e05d3300a9ba Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 16 Mar 2021 19:10:50 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- testing/python/approx.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/python/approx.py b/testing/python/approx.py index a8b2955d7..538dbd397 100644 --- a/testing/python/approx.py +++ b/testing/python/approx.py @@ -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):