Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
mmdetection3d
Commits
7cc36968
"git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "988c82227db1a41846a9aae5c83750dcfc334f66"
Unverified
Commit
7cc36968
authored
May 29, 2023
by
Sun Jiahao
Committed by
GitHub
May 29, 2023
Browse files
[Fix] Fix UT about array_converter (#2561)
parent
03d01641
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/test_models/test_utils/test_utils.py
tests/test_models/test_utils/test_utils.py
+1
-1
No files found.
tests/test_models/test_utils/test_utils.py
View file @
7cc36968
...
@@ -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
])])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment