[Python-3000-checkins] r53748 - python/branches/p3yk/Lib/test/test_marshal.py

guido.van.rossum python-3000-checkins at python.org
Mon Feb 12 01:23:56 CET 2007


Author: guido.van.rossum
Date: Mon Feb 12 01:23:56 2007
New Revision: 53748

Modified:
   python/branches/p3yk/Lib/test/test_marshal.py
Log:
Fix unittest.


Modified: python/branches/p3yk/Lib/test/test_marshal.py
==============================================================================
--- python/branches/p3yk/Lib/test/test_marshal.py	(original)
+++ python/branches/p3yk/Lib/test/test_marshal.py	Mon Feb 12 01:23:56 2007
@@ -167,7 +167,7 @@
         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"))


More information about the Python-3000-checkins mailing list