summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_marshal.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-02-12 00:23:56 (GMT)
committerGuido van Rossum <guido@python.org>2007-02-12 00:23:56 (GMT)
commite19aad4c7b4804b4a13aca3999363f9d33a4fa75 (patch)
tree5d849a125929962e6ac73be65c7fd44683fa8181 /Lib/test/test_marshal.py
parentdde4c2ca5694b1b53e4742962abcb1365126cbcd (diff)
downloadcpython-e19aad4c7b4804b4a13aca3999363f9d33a4fa75.zip
cpython-e19aad4c7b4804b4a13aca3999363f9d33a4fa75.tar.gz
cpython-e19aad4c7b4804b4a13aca3999363f9d33a4fa75.tar.bz2
Fix unittest.
Diffstat (limited to 'Lib/test/test_marshal.py')
-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"))