diff options
| author | Guido van Rossum <guido@python.org> | 2007-02-09 23:20:19 (GMT) |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 2007-02-09 23:20:19 (GMT) |
| commit | 79139b247b0bc0bc1b1a12932140bbd4bc188df7 (patch) | |
| tree | fef7ef79dcb4e2a1ca033e725b1c2d802e9447d2 /Lib/test/test_softspace.py | |
| parent | bdc36e4d9e754dd00f17f67a943217a1829c75b3 (diff) | |
| download | cpython-79139b247b0bc0bc1b1a12932140bbd4bc188df7.zip cpython-79139b247b0bc0bc1b1a12932140bbd4bc188df7.tar.gz cpython-79139b247b0bc0bc1b1a12932140bbd4bc188df7.tar.bz2 | |
Kill off softspace completely (except in formatter.py which seems to have
a different feature with the same name).
The change to test_doctest.txt reduces the doctest failures to 3.
Diffstat (limited to 'Lib/test/test_softspace.py')
| -rw-r--r-- | Lib/test/test_softspace.py | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/Lib/test/test_softspace.py b/Lib/test/test_softspace.py deleted file mode 100644 index c0b4e8f..0000000 --- a/Lib/test/test_softspace.py +++ /dev/null @@ -1,14 +0,0 @@ -from test import test_support -import StringIO - -# SF bug 480215: softspace confused in nested print -f = StringIO.StringIO() -class C: - def __str__(self): - print('a', file=f) - return 'b' - -print(C(), 'c ', 'd\t', 'e', file=f) -print('f', 'g', file=f) -# In 2.2 & earlier, this printed ' a\nbc d\te\nf g\n' -test_support.vereq(f.getvalue(), 'a\nb c d\te\nf g\n') |
