From e19aad4c7b4804b4a13aca3999363f9d33a4fa75 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 12 Feb 2007 00:23:56 +0000 Subject: [PATCH] Fix unittest. --- Lib/test/test_marshal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_marshal.py b/Lib/test/test_marshal.py index bcd2918252a..6c98022057b 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"))