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"))
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to