[Python-3000-checkins] r53707 - python/branches/p3yk/Lib/test/list_tests.py
guido.van.rossum
python-3000-checkins at python.org
Fri Feb 9 23:11:22 CET 2007
Author: guido.van.rossum
Date: Fri Feb 9 23:11:20 2007
New Revision: 53707
Modified:
python/branches/p3yk/Lib/test/list_tests.py
Log:
Two tests fixed with one fix.
Modified: python/branches/p3yk/Lib/test/list_tests.py
==============================================================================
--- python/branches/p3yk/Lib/test/list_tests.py (original)
+++ python/branches/p3yk/Lib/test/list_tests.py Fri Feb 9 23:11:20 2007
@@ -54,7 +54,7 @@
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))
More information about the Python-3000-checkins
mailing list