summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_userdict.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-02-15 03:49:08 (GMT)
committerGuido van Rossum <guido@python.org>2007-02-15 03:49:08 (GMT)
commitd81206d1526f869645bca83193da5ddfefaf4936 (patch)
treebc4d810d4928cb8a96bbea2898248c9d21c74a61 /Lib/test/test_userdict.py
parente34cdd1bc157f8e166d3693551445ae882f9fe7c (diff)
downloadcpython-d81206d1526f869645bca83193da5ddfefaf4936.zip
cpython-d81206d1526f869645bca83193da5ddfefaf4936.tar.gz
cpython-d81206d1526f869645bca83193da5ddfefaf4936.tar.bz2
Fix the damage to UserDict and its tests.
Clearly this is not the right way to fix this; UserDict and MixinDict ought to be redesigned with the new dict API in mind. But I'm not claiming to be in charge of library redesign, I only want zero failing tests.
Diffstat (limited to 'Lib/test/test_userdict.py')
-rw-r--r--Lib/test/test_userdict.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_userdict.py b/Lib/test/test_userdict.py
index 05d6d9e..500971b 100644
--- a/Lib/test/test_userdict.py
+++ b/Lib/test/test_userdict.py
@@ -92,7 +92,7 @@ class UserDictTest(mapping_tests.TestHashMappingProtocol):
# Test keys, items, values
self.assertEqual(u2.keys(), d2.keys())
self.assertEqual(u2.items(), d2.items())
- self.assertEqual(u2.values(), d2.values())
+ self.assertEqual(list(u2.values()), list(d2.values()))
# Test "in".
for i in u2.keys():