Skip to content

Commit

Permalink
test: fix doubly named test (#90)
Browse files Browse the repository at this point in the history
Signed-off-by: nstarman <nstarman@users.noreply.github.com>
  • Loading branch information
nstarman authored Sep 26, 2024
1 parent dbf5346 commit 1af07e2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/numpy/test_jax.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,7 @@ def test_allclose(x1, x2):
y = jnp.array([1, 2, 3], dtype=float) + 1e-9
assert qnp.allclose(x, y) == jnp.allclose(x, y)


def test_allclose(x1, x2):
"""Test `quaxed.numpy.allclose`."""
# allclose
assert qnp.allclose(x1, x2, atol=1e-8) == jnp.allclose(x1, x2, atol=1e-8)


Expand Down

0 comments on commit 1af07e2

Please sign in to comment.