Skip to content

Commit

Permalink
MNT: Use testing functionality of numpy for float comparison. [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
Taher Chegini committed Apr 1, 2024
1 parent 8b0f834 commit c19367b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_hydrosignatures.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@


def assert_close(a: float, b: float) -> None:
assert np.isclose(a, b, rtol=1e-3).all()
np.testing.assert_allclose(a, b, rtol=1e-3)


@pytest.fixture()
Expand Down

0 comments on commit c19367b

Please sign in to comment.