MCPcopy Create free account
hub / github.com/ipython/traitlets / CallableTraitTest

Class CallableTraitTest

tests/test_traitlets.py:1317–1320  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1315
1316
1317class CallableTraitTest(TraitTestBase):
1318 obj = CallableTrait(value=lambda x: type(x))
1319 _good_values = [int, sorted, lambda x: print(x)]
1320 _bad_values = [[], 1, ""]
1321
1322
1323class OrTrait(HasTraits):

Callers

nothing calls this directly

Calls 1

CallableTraitClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…