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

Class TestUnionListTrait

tests/test_traitlets.py:1725–1730  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1723
1724
1725class TestUnionListTrait(TraitTestBase):
1726 obj = UnionListTrait()
1727
1728 _default_value: t.List[t.Any] = []
1729 _good_values = [[True, 1], [False, True]]
1730 _bad_values = [[1, "True"], False]
1731
1732
1733class LenListTrait(HasTraits):

Callers

nothing calls this directly

Calls 1

UnionListTraitClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…