Skip to content

Commit e116fa1

Browse files
committed
skip if not installed
1 parent 96ba116 commit e116fa1

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

tests/link/mlx/test_basic.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import pytest
2+
3+
4+
mx = pytest.importorskip("mlx.core")

tests/link/mlx/test_math.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import numpy as np
22

33
import pytensor
4+
import tests.link.mlx.test_basic # noqa: F401
45
from pytensor.tensor.type import matrix
56

67

0 commit comments

Comments
 (0)