]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix test_os from breakage due to dict views.
authorBrett Cannon <bcannon@gmail.com>
Wed, 21 Feb 2007 21:57:55 +0000 (21:57 +0000)
committerBrett Cannon <bcannon@gmail.com>
Wed, 21 Feb 2007 21:57:55 +0000 (21:57 +0000)
BROKEN
Lib/test/mapping_tests.py

diff --git a/BROKEN b/BROKEN
index 034cd851ff04ca972e910e2d7e96453d5de63535..2967871269c57e19631ad52e06633f4210ff8fd0 100644 (file)
--- a/BROKEN
+++ b/BROKEN
@@ -1,3 +1,2 @@
     test_bsddb test_bsddb3 test_compile test_dumbdbm
     test_importhooks test_iter test_iterlen test_minidom test_mutants
-    test_os
index 09e9dcbe4213559c43c52c820daac1bd04515f45..77d66b206296fc2e922f38f5b3c02ea187b1111b 100644 (file)
@@ -101,7 +101,7 @@ class BasicTestMappingProtocol(unittest.TestCase):
         #update
         p.update(self.reference)
         self.assertEqual(dict(p), self.reference)
-        items = p.items()
+        items = list(p.items())
         p = self._empty_mapping()
         p.update(items)
         self.assertEqual(dict(p), self.reference)