Skip to content

Commit 37fb5e0

Browse files
committed
Fix test failures in numba mode
1 parent 1d8ca5b commit 37fb5e0

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
@@ -675,9 +675,7 @@ def test_perform_params():
675675
out = [out]
676676

677677
out_fg = FunctionGraph([x], out)
678-
679-
with pytest.warns(UserWarning, match=".*object mode.*"):
680-
compare_numba_and_py(out_fg, [get_test_value(i) for i in out_fg.inputs])
678+
compare_numba_and_py(out_fg, [get_test_value(i) for i in out_fg.inputs])
681679

682680

683681
def test_perform_type_convert():
@@ -696,9 +694,7 @@ def test_perform_type_convert():
696694
out = [out]
697695

698696
out_fg = FunctionGraph([x], out)
699-
700-
with pytest.warns(UserWarning, match=".*object mode.*"):
701-
compare_numba_and_py(out_fg, [get_test_value(i) for i in out_fg.inputs])
697+
compare_numba_and_py(out_fg, [get_test_value(i) for i in out_fg.inputs])
702698

703699

704700
@pytest.mark.parametrize(

0 commit comments

Comments
 (0)