Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
fix ut (#3995)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaowu0162 authored Jul 30, 2021
1 parent 40942f2 commit 449fb12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ut/sdk/test_hpo_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
bad_fields = { 'x': { 'type': 'choice', 'value': ['a', 'b'] } }
bad_type_name = { 'x': { '_type': 'choic', '_value': ['a'] } }
bad_value = { 'x': { '_type': 'choice', '_value': 'ab' } }
bad_choice_args = { 'x': { '_type': 'choice', 'value': [ 'a', object() ] } }
bad_choice_args = { 'x': { '_type': 'choice', '_value': [ 'a', object() ] } }
bad_2_args = { 'x': { '_type': 'randint', '_value': [1, 2, 3] } }
bad_3_args = { 'x': { '_type': 'quniform', '_value': [0] } }
bad_int_args = { 'x': { '_type': 'randint', '_value': [1.0, 2.0] } }
Expand Down

0 comments on commit 449fb12

Please sign in to comment.