Skip to content

Commit 0af7cb7

Browse files
committed
Allow tests to pass on object mode
1 parent 5810cab commit 0af7cb7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/tensor/test_basic.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,10 @@
150150
)
151151

152152

153-
pytestmark = pytest.mark.filterwarnings("error")
153+
pytestmark = pytest.mark.filterwarnings(
154+
"error",
155+
"ignore:Numba will use object mode:UserWarning",
156+
)
154157

155158
if config.mode == "FAST_COMPILE":
156159
mode_opt = "FAST_RUN"

0 commit comments

Comments
 (0)