summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_deque.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-02-09 21:54:58 (GMT)
committerGuido van Rossum <guido@python.org>2007-02-09 21:54:58 (GMT)
commitd8c19672a77b11b0ea0be163e08485771bb69550 (patch)
tree00789a8dbd6ee86c3239ec55aeb888391db105e1 /Lib/test/test_deque.py
parent88fc6646d1b97cb3ba6188808e7c016884d44a73 (diff)
downloadcpython-d8c19672a77b11b0ea0be163e08485771bb69550.zip
cpython-d8c19672a77b11b0ea0be163e08485771bb69550.tar.gz
cpython-d8c19672a77b11b0ea0be163e08485771bb69550.tar.bz2
Some more tests pass now. (Also test_compiler.py with -u all.)
Diffstat (limited to 'Lib/test/test_deque.py')
-rw-r--r--Lib/test/test_deque.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_deque.py b/Lib/test/test_deque.py
index 9bb1472..2809904 100644
--- a/Lib/test/test_deque.py
+++ b/Lib/test/test_deque.py
@@ -245,7 +245,7 @@ class TestBasic(unittest.TestCase):
d.append(d)
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))