Skip to content

Commit ed0d687

Browse files
Absolute imports
1 parent d22851a commit ed0d687

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

tests/link/mlx/test_elemwise.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
import mlx.core as mx
12
import numpy as np
23
import pytest
34

45
import pytensor.tensor as pt
5-
from tests.link.mlx.test_basic import compare_mlx_and_py, mx
6+
from tests.link.mlx.test_basic import compare_mlx_and_py
67

78

89
@pytest.mark.parametrize("op", [pt.any, pt.all, pt.max, pt.min])

tests/link/mlx/test_subtensor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import numpy as np
22
import pytest
3-
from test_basic import compare_mlx_and_py
43

54
import pytensor.tensor as pt
65
from pytensor.tensor import subtensor as pt_subtensor
76
from pytensor.tensor import tensor
7+
from tests.link.mlx.test_basic import compare_mlx_and_py
88

99

1010
mx = pytest.importorskip("mlx.core")

0 commit comments

Comments
 (0)