Skip to content

Commit 4deff1a

Browse files
authored
Merge pull request #1427 from IntelPython/fix/enable_with_numba_captured_errors_new_style
Fix test case to work with NUMBA_CAPTURED_ERRORS=new_style
2 parents fb8005d + 93a1a62 commit 4deff1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numba_dpex/tests/dpjit_tests/dpnp/test_target_specific_overload.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ def dpnp_func():
2323
dpnp_func_dpjit = dpjit(dpnp_func)
2424

2525
dpnp_func_dpjit()
26-
with pytest.raises(errors.TypingError):
26+
with pytest.raises((errors.TypingError, errors.UnsupportedError)):
2727
dpnp_func_njit()

0 commit comments

Comments
 (0)