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

Function test_cls_self_argument

tests/test_traitlets.py:2841–2846  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2839
2840
2841def test_cls_self_argument():
2842 class X(HasTraits):
2843 def __init__(__self, cls, self):
2844 pass
2845
2846 x = X(cls=None, self=None)
2847
2848
2849def test_override_default():

Callers

nothing calls this directly

Calls 1

XClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…