Skip to content

Commit 827eb67

Browse files
committed
new
1 parent cc67716 commit 827eb67

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/test_timeevol.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@
1212

1313

1414
def test_circuit_ode_evol(highp, jaxb):
15+
try:
16+
import diffrax # pylint: disable=unused-import
17+
except ImportError:
18+
pytest.skip("diffrax not installed, skipping test")
19+
1520
def h_square(t, b):
1621
return (tc.backend.sign(t - 1.0) + 1) / 2 * b * tc.gates.x().tensor
1722

0 commit comments

Comments
 (0)