diff options
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_userdict.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_userdict.py b/Lib/test/test_userdict.py index 49be8c6..0f2fbb8 100644 --- a/Lib/test/test_userdict.py +++ b/Lib/test/test_userdict.py @@ -75,6 +75,10 @@ m2 = MyUserDict(u2) m2a = m2.copy() verify(m2a == m2) +# SF bug #476616 -- copy() of UserDict subclass shared data +m2['foo'] = 'bar' +verify(m2a != m2) + # Test keys, items, values verify(u2.keys() == d2.keys()) |