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

Class TestNoneInstanceList

tests/test_traitlets.py:1689–1694  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1687
1688
1689class TestNoneInstanceList(TraitTestBase):
1690 obj = NoneInstanceListTrait()
1691
1692 _default_value: t.List[t.Any] = []
1693 _good_values = [[Foo(), Foo()], []]
1694 _bad_values = [[None], [Foo(), None]]
1695
1696
1697class InstanceListTrait(HasTraits):

Callers

nothing calls this directly

Calls 2

FooClass · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…