]> granicus.if.org Git - python/commitdiff
Two tests fixed with one fix.
authorGuido van Rossum <guido@python.org>
Fri, 9 Feb 2007 22:11:20 +0000 (22:11 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 9 Feb 2007 22:11:20 +0000 (22:11 +0000)
Lib/test/list_tests.py

index 507506ec0daf8d2c623e55bd1451e528ead36932..a6180811b19167aee0b19c83930fc1e258d7107f 100644 (file)
@@ -54,7 +54,7 @@ class CommonTest(seq_tests.CommonTest):
         d.append(400)
         try:
             fo = open(test_support.TESTFN, "wb")
-            print(d, end=' ', file=fo)
+            fo.write(str(d))
             fo.close()
             fo = open(test_support.TESTFN, "rb")
             self.assertEqual(fo.read(), repr(d))