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

Class Foo

tests/utils/test_decorators.py:13–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11 def test_no_init(self):
12 @signature_has_traits
13 class Foo(HasTraits):
14 number1 = Int()
15 number2 = Int()
16 value = Unicode("Hello")
17
18 parameters = signature(Foo).parameters
19 parameter_names = list(parameters)

Callers 4

test_no_initMethod · 0.70
test_partial_initMethod · 0.70
test_duplicate_initMethod · 0.70
test_full_initMethod · 0.70

Calls 2

IntClass · 0.90
UnicodeClass · 0.90

Tested by 4

test_no_initMethod · 0.56
test_partial_initMethod · 0.56
test_duplicate_initMethod · 0.56
test_full_initMethod · 0.56