We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcac498 commit 4ead07bCopy full SHA for 4ead07b
1 file changed
Lib/test/test_copy.py
@@ -433,12 +433,14 @@ def test_deepcopy_reflexive_dict(self):
433
self.assertIs(y['foo'], y)
434
self.assertEqual(len(y), 1)
435
436
+ @support.cpython_only
437
def test_deepcopy_keepalive(self):
438
memo = {}
439
x = []
440
y = copy.deepcopy(x, memo)
441
self.assertIs(memo[id(memo)][0], x)
442
443
444
def test_deepcopy_dont_memo_immutable(self):
445
446
x = [1, 2, 3, 4]
0 commit comments