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

Method test_deepcopy_keepalive

Lib/test/test_copy.py:436–440  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

434 self.assertEqual(len(y), 1)
435
436 def test_deepcopy_keepalive(self):
437 memo = {}
438 x = []
439 y = copy.deepcopy(x, memo)
440 self.assertIs(memo[id(memo)][0], x)
441
442 def test_deepcopy_dont_memo_immutable(self):
443 memo = {}

Callers

nothing calls this directly

Calls 2

idFunction · 0.85
assertIsMethod · 0.45

Tested by

no test coverage detected