Skip to content

Commit 7489407

Browse files
committed
Fix test failures in numba mode
1 parent 7cb7558 commit 7489407

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

tests/link/numba/test_basic.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -681,9 +681,7 @@ def test_perform_params():
681681
out = [out]
682682

683683
out_fg = FunctionGraph([x], out)
684-
685-
with pytest.warns(UserWarning, match=".*object mode.*"):
686-
compare_numba_and_py(out_fg, [get_test_value(i) for i in out_fg.inputs])
684+
compare_numba_and_py(out_fg, [get_test_value(i) for i in out_fg.inputs])
687685

688686

689687
def test_perform_type_convert():
@@ -702,9 +700,7 @@ def test_perform_type_convert():
702700
out = [out]
703701

704702
out_fg = FunctionGraph([x], out)
705-
706-
with pytest.warns(UserWarning, match=".*object mode.*"):
707-
compare_numba_and_py(out_fg, [get_test_value(i) for i in out_fg.inputs])
703+
compare_numba_and_py(out_fg, [get_test_value(i) for i in out_fg.inputs])
708704

709705

710706
@pytest.mark.parametrize(

0 commit comments

Comments
 (0)