mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Fix test_os from breakage due to dict views.
This commit is contained in:
parent
b38e2bcfd4
commit
67582d2bee
2 changed files with 1 additions and 2 deletions
1
BROKEN
1
BROKEN
|
@ -1,3 +1,2 @@
|
||||||
test_bsddb test_bsddb3 test_compile test_dumbdbm
|
test_bsddb test_bsddb3 test_compile test_dumbdbm
|
||||||
test_importhooks test_iter test_iterlen test_minidom test_mutants
|
test_importhooks test_iter test_iterlen test_minidom test_mutants
|
||||||
test_os
|
|
||||||
|
|
|
@ -101,7 +101,7 @@ class BasicTestMappingProtocol(unittest.TestCase):
|
||||||
#update
|
#update
|
||||||
p.update(self.reference)
|
p.update(self.reference)
|
||||||
self.assertEqual(dict(p), self.reference)
|
self.assertEqual(dict(p), self.reference)
|
||||||
items = p.items()
|
items = list(p.items())
|
||||||
p = self._empty_mapping()
|
p = self._empty_mapping()
|
||||||
p.update(items)
|
p.update(items)
|
||||||
self.assertEqual(dict(p), self.reference)
|
self.assertEqual(dict(p), self.reference)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue