summaryrefslogtreecommitdiffstats
path: root/Lib/test/list_tests.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-02-09 22:11:20 (GMT)
committerGuido van Rossum <guido@python.org>2007-02-09 22:11:20 (GMT)
commit374812c5afa1559b9b9e3e1f02e4150eccaa4f4e (patch)
tree2b6aa1a4884a24dbf1b8e4b423c29f3f12b2fc1a /Lib/test/list_tests.py
parentc420b2f3ee1dbda2ca7a4fb81db1558b2d896f22 (diff)
downloadcpython-374812c5afa1559b9b9e3e1f02e4150eccaa4f4e.zip
cpython-374812c5afa1559b9b9e3e1f02e4150eccaa4f4e.tar.gz
cpython-374812c5afa1559b9b9e3e1f02e4150eccaa4f4e.tar.bz2
Two tests fixed with one fix.
Diffstat (limited to 'Lib/test/list_tests.py')
-rw-r--r--Lib/test/list_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/list_tests.py b/Lib/test/list_tests.py
index 507506e..a618081 100644
--- a/Lib/test/list_tests.py
+++ b/Lib/test/list_tests.py
@@ -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))