summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_marshal.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_marshal.py b/Lib/test/test_marshal.py
index bcd2918..6c98022 100644
--- a/Lib/test/test_marshal.py
+++ b/Lib/test/test_marshal.py
@@ -167,7 +167,7 @@ class ContainerTestCase(unittest.TestCase):
os.unlink(test_support.TESTFN)
def test_list(self):
- lst = self.d.items()
+ lst = list(self.d.items())
new = marshal.loads(marshal.dumps(lst))
self.assertEqual(lst, new)
marshal.dump(lst, open(test_support.TESTFN, "wb"))