summaryrefslogtreecommitdiff
path: root/Lib/test/mapping_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/mapping_tests.py')
-rw-r--r--Lib/test/mapping_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/mapping_tests.py b/Lib/test/mapping_tests.py
index 09e9dcbe42..77d66b2062 100644
--- a/Lib/test/mapping_tests.py
+++ b/Lib/test/mapping_tests.py
@@ -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)