diff --git a/Lib/test/test_copy.py b/Lib/test/test_copy.py index cfef24727e8c82..7a5bb34c254f70 100644 --- a/Lib/test/test_copy.py +++ b/Lib/test/test_copy.py @@ -433,12 +433,14 @@ def test_deepcopy_reflexive_dict(self): self.assertIs(y['foo'], y) self.assertEqual(len(y), 1) + @support.cpython_only def test_deepcopy_keepalive(self): memo = {} x = [] y = copy.deepcopy(x, memo) self.assertIs(memo[id(memo)][0], x) + @support.cpython_only def test_deepcopy_dont_memo_immutable(self): memo = {} x = [1, 2, 3, 4]