Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/hyperopt/hyperopt
/ test_nested_w_bool
Method
test_nested_w_bool
hyperopt/tests/test_base.py:251–253 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
249
assert np.all(self.SONify(np.asarray([[1, 2], [3, 4.5]])) == [[1, 2], [3, 4.5]])
250
251
def
test_nested_w_bool(self):
252
thing = dict(a=1, b=
"2"
, c=True, d=False, e=int(3), f=[1])
253
assert thing == SONify(thing)
Callers
nothing calls this directly
Calls
1
SONify
Function · 0.90
Tested by
no test coverage detected