Commit b0f3cecb authored by René Fritze's avatar René Fritze Committed by René Fritze

[tests] fix input tolerances not used in test_almost_equal

parent b4364a14
......@@ -39,7 +39,7 @@ def test_almost_equal(vectors, tolerances, norms):
dv1 = dv2 = None
for ind1, ind2 in valid_inds_of_same_length(v1, v2):
r = almost_equal(v1[ind1], v2[ind2], norm=n)
r = almost_equal(v1[ind1], v2[ind2], norm=n, rtol=rtol, atol=atol)
except NotImplementedError as e:
if n == 'l1':
pytest.xfail('l1_norm not implemented')
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment