"git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "988c82227db1a41846a9aae5c83750dcfc334f66"
Unverified Commit 7cc36968 authored by Sun Jiahao's avatar Sun Jiahao Committed by GitHub
Browse files

[Fix] Fix UT about array_converter (#2561)

parent 03d01641
...@@ -179,7 +179,7 @@ def test_array_converter(): ...@@ -179,7 +179,7 @@ def test_array_converter():
new_array_a, new_array_b = test_func_9(container, {}) new_array_a, new_array_b = test_func_9(container, {})
# invalid template arg list # invalid template arg list
with pytest.raises(TypeError): with pytest.raises((TypeError, ValueError)):
new_array_a, new_array_b = test_func_9(container, new_array_a, new_array_b = test_func_9(container,
[True, np.array([3.0])]) [True, np.array([3.0])])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment