Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ipython/traitlets
/ B
Class
B
tests/test_traitlets.py:1145–1146 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1143
self.assertEqual(a.inst.c, 10)
1144
1145
class
B(HasTraits):
1146
inst = Instance(Bah, args=(10,), kw=dict(d=20))
1147
1148
b = B()
1149
self.assertEqual(b.inst.c, 10)
Callers
nothing calls this directly
Calls
1
Instance
Class · 0.90
Tested by
no test coverage detected