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

Method test_list

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

Source from the content-addressed store, hash-verified

92
93class GCTests(unittest.TestCase):
94 def test_list(self):
95 l = []
96 l.append(l)
97 gc.collect()
98 del l
99 self.assertEqual(gc.collect(), 1)
100
101 def test_dict(self):
102 d = {}

Callers

nothing calls this directly

Calls 3

collectMethod · 0.80
appendMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected