diff options
Diffstat (limited to 'Lib/test/list_tests.py')
-rw-r--r-- | Lib/test/list_tests.py | 2 |
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)) |