Fix test_os from breakage due to dict views.
This commit is contained in:
parent
b38e2bcfd4
commit
67582d2bee
1
BROKEN
1
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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue