diff options
author | Guido van Rossum <guido@python.org> | 2007-02-12 00:23:56 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-02-12 00:23:56 (GMT) |
commit | e19aad4c7b4804b4a13aca3999363f9d33a4fa75 (patch) | |
tree | 5d849a125929962e6ac73be65c7fd44683fa8181 /Lib/test/test_marshal.py | |
parent | dde4c2ca5694b1b53e4742962abcb1365126cbcd (diff) | |
download | cpython-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.py | 2 |
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")) |