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

Class B

tests/test_traitlets.py:145–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143
144 # Defaults are validated when the HasTraits is instantiated
145 class B(HasTraits):
146 tt = MyIntTT("bad default")
147
148 self.assertRaises(TraitError, getattr, B(), "tt")
149

Callers

nothing calls this directly

Calls 2

IntClass · 0.90
MyIntTTClass · 0.85

Tested by

no test coverage detected