Fix test_os from breakage due to dict views.

This commit is contained in:
Brett Cannon 2007-02-21 21:57:55 +00:00
parent b38e2bcfd4
commit 67582d2bee
2 changed files with 1 additions and 2 deletions

1
BROKEN
View File

@ -1,3 +1,2 @@
test_bsddb test_bsddb3 test_compile test_dumbdbm
test_importhooks test_iter test_iterlen test_minidom test_mutants
test_os

View 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)