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

Method test_newstyleclass

Lib/test/test_gc.py:126–131  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

124 self.assertNotEqual(gc.collect(), 0)
125
126 def test_newstyleclass(self):
127 class A(object):
128 pass
129 gc.collect()
130 del A
131 self.assertNotEqual(gc.collect(), 0)
132
133 def test_instance(self):
134 class A:

Callers

nothing calls this directly

Calls 2

collectMethod · 0.80
assertNotEqualMethod · 0.80

Tested by

no test coverage detected