Skip to content

Commit 3805500

Browse files
matthiasdienerinducer
authored andcommitted
skip jax test if jax not installed
1 parent def0a40 commit 3805500

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/test_jax.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
import pytest
2424
import numpy as np
2525
import pytato as pt
26+
27+
pytest.importorskip("jax")
2628
from jax.config import config
2729
config.update("jax_enable_x64", True)
2830

0 commit comments

Comments
 (0)