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.
This commit is contained in:
Guido van Rossum 2007-02-15 03:49:08 +00:00
parent e34cdd1bc1
commit d81206d152
3 changed files with 17 additions and 18 deletions

View file

@ -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():