Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/hyperopt/hyperopt
/ SONify
Method
SONify
hyperopt/tests/test_base.py:225–228 ·
view source on GitHub ↗
(self, foo)
Source
from the content-addressed store, hash-verified
223
224
class
TestSONify(unittest.TestCase):
225
def
SONify(self, foo):
226
rval = SONify(foo)
227
assert bson.BSON.encode(dict(a=rval))
228
return
rval
229
230
def
test_int(self):
231
assert self.SONify(1) == 1
Callers
7
test_int
Method · 0.95
test_float
Method · 0.95
test_np_1d_int
Method · 0.95
test_np_1d_float
Method · 0.95
test_np_1d_str
Method · 0.95
test_np_2d_int
Method · 0.95
test_np_2d_float
Method · 0.95
Calls
1
SONify
Function · 0.90
Tested by
no test coverage detected