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

Class A

tests/test_traitlets.py:1076–1077  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1074 pass
1075
1076 class A(HasTraits):
1077 inst = Instance(Foo, allow_none=True)
1078
1079 a = A()
1080 self.assertTrue(a.inst is None)

Callers

nothing calls this directly

Calls 3

InstanceClass · 0.90
FooInstanceClass · 0.85
FooClass · 0.70

Tested by

no test coverage detected