Skip to content

Commit 7cc3696

Browse files
[Fix] Fix UT about array_converter (#2561)
1 parent 03d0164 commit 7cc3696

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_models/test_utils/test_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def test_func_9(container, array_a, array_b=1):
179179
new_array_a, new_array_b = test_func_9(container, {})
180180

181181
# invalid template arg list
182-
with pytest.raises(TypeError):
182+
with pytest.raises((TypeError, ValueError)):
183183
new_array_a, new_array_b = test_func_9(container,
184184
[True, np.array([3.0])])
185185

0 commit comments

Comments
 (0)