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

Method test_freeze

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

Source from the content-addressed store, hash-verified

890 self.assertGreaterEqual(new[2][stat], old[2][stat])
891
892 def test_freeze(self):
893 gc.freeze()
894 self.assertGreater(gc.get_freeze_count(), 0)
895 gc.unfreeze()
896 self.assertEqual(gc.get_freeze_count(), 0)
897
898 def test_get_objects(self):
899 gc.collect()

Callers

nothing calls this directly

Calls 5

assertGreaterMethod · 0.80
get_freeze_countMethod · 0.80
unfreezeMethod · 0.80
freezeMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected