Commit 40b1c5f5 authored by Philipp Arras's avatar Philipp Arras
Browse files

Jax tests: skip if jax is not available

parent 730f3c98
Pipeline #113615 passed with stages
in 21 minutes and 20 seconds
......@@ -100,6 +100,7 @@ def test_jax_energy(dom):
def test_jax_errors():
pytest.importorskip("jax")
dom = ift.UnstructuredDomain(2)
mdom = {"a": dom}
op = ift.JaxOperator(dom, dom, lambda x: {"a": x})
......@@ -118,6 +119,7 @@ def test_jax_errors():
def test_jax_complex():
pytest.importorskip("jax")
dom = ift.UnstructuredDomain(1)
a = ift.ducktape(dom, None, "a")
b = ift.ducktape(dom, None, "b")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment