Commit e19aad4c authored by Guido van Rossum's avatar Guido van Rossum

Fix unittest.

parent dde4c2ca
......@@ -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"))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment