Skip to content

Commit 2a46195

Browse files
committed
Add more tests
1 parent 52d7c83 commit 2a46195

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Lib/test/test_copy.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,8 @@ def test_deepcopy_frozendict(self):
445445
x['foo'].append(x)
446446
x = x['foo']
447447
y = copy.deepcopy(x)
448+
self.assertIsNot(x, y)
449+
self.assertIsNot(x[0], y[0])
448450
self.assertIs(y[0]['foo'], y)
449451

450452
@support.skip_emscripten_stack_overflow()

0 commit comments

Comments
 (0)