[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
01bb8013e8
commit
2863d437d0
|
@ -348,7 +348,7 @@ class TestApprox:
|
|||
|
||||
def test_hash(self):
|
||||
assert {1} == {approx(1, rel=1e-6, abs=1e-12)}
|
||||
assert {1+1e-5} != {approx(1, rel=1e-6, abs=1e-12)}
|
||||
assert {1 + 1e-5} != {approx(1, rel=1e-6, abs=1e-12)}
|
||||
|
||||
def test_exactly_equal(self):
|
||||
examples = [
|
||||
|
|
Loading…
Reference in New Issue