Skip to content

Commit

Permalink
test with allclose
Browse files Browse the repository at this point in the history
  • Loading branch information
byrdie committed Oct 22, 2024
1 parent 420683d commit 9d47bea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ndfilters/_tests/test_convolve.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,4 @@ def test_convolve(
mode=mode,
)

assert np.all(u.Quantity(result).value == result_expected)
assert np.allclose(u.Quantity(result).value, result_expected)

0 comments on commit 9d47bea

Please sign in to comment.