MCPcopy Index your code
hub / github.com/python/cpython / test_freeze

Method test_freeze

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

Source from the content-addressed store, hash-verified

886 self.assertGreaterEqual(new[2][stat], old[2][stat])
887
888 def test_freeze(self):
889 gc.freeze()
890 self.assertGreater(gc.get_freeze_count(), 0)
891 gc.unfreeze()
892 self.assertEqual(gc.get_freeze_count(), 0)
893
894 def test_get_objects(self):
895 gc.collect()

Callers

nothing calls this directly

Calls 3

freezeMethod · 0.80
assertGreaterMethod · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected