MCPcopy
hub / github.com/hyperopt/hyperopt / test_literal_apply

Function test_literal_apply

hyperopt/pyll/tests/test_base.py:25–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23
24
25def test_literal_apply():
26 l0 = Literal([1, 2, 3])
27 print(str(l0))
28 assert str(l0) == "0 Literal{[1, 2, 3]}"
29
30
31def test_literal_unpacking():

Callers

nothing calls this directly

Calls 1

LiteralClass · 0.90

Tested by

no test coverage detected