mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +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
|
@ -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…
Add table
Add a link
Reference in a new issue