MCPcopy Index your code
hub / github.com/RustPython/RustPython / C0

Class C0

Lib/test/test_descr.py:1110–1111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1108 def test_slots(self):
1109 # Testing __slots__...
1110 class C0(object):
1111 __slots__ = []
1112 x = C0()
1113 self.assertNotHasAttr(x, "__dict__")
1114 self.assertNotHasAttr(x, "foo")

Callers 1

test_slotsMethod · 0.70

Calls

no outgoing calls

Tested by 1

test_slotsMethod · 0.56