Skip to content

Commit 93a1a62

Browse files
author
Diptorup Deb
committed
Fix test case to work with NUMBA_CAPTURED_ERRORS=new_style
1 parent fb8005d commit 93a1a62

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)