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

Class UnionTraitTest

tests/test_traitlets.py:1307–1310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1305
1306
1307class UnionTraitTest(TraitTestBase):
1308 obj = UnionTrait(value="traitlets.config.Config")
1309 _good_values = [int, float, True]
1310 _bad_values = [[], (0,), 1j]
1311
1312
1313class CallableTrait(HasTraits):

Callers

nothing calls this directly

Calls 1

UnionTraitClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…