Skip to content

Commit 4f1e7f0

Browse files
committed
Skip jax test if not installed
1 parent 00d1f89 commit 4f1e7f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def test_is_xp_array(library, func):
5757

5858

5959
def test_is_jax_array_jitted():
60-
import jax
60+
jax = pytest.importorskip("jax")
6161
import jax.numpy as jnp
6262

6363
x = jnp.asarray([1, 2, 3])

0 commit comments

Comments
 (0)