summaryrefslogtreecommitdiffstats
path: root/Lib/test/output
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-09-28 04:25:33 (GMT)
committerFred Drake <fdrake@acm.org>2000-09-28 04:25:33 (GMT)
commit954383356f9d6e69b0dcfe73773f2fb8158a0dd0 (patch)
treef625bd12695703f23a1b5d657439e07d0bd18094 /Lib/test/output
parente0a7f4f9d52acd8fccaa80fd9976325748f6b070 (diff)
downloadcpython-954383356f9d6e69b0dcfe73773f2fb8158a0dd0.zip
cpython-954383356f9d6e69b0dcfe73773f2fb8158a0dd0.tar.gz
cpython-954383356f9d6e69b0dcfe73773f2fb8158a0dd0.tar.bz2
Added some tests for the truncate() method; one is commented out because
cStringIO does not get it right (reported as SF bug #115531). Added test for ValueError when write() is called on a closed StringIO object. Commented out because cStringIO does not get it right (reported as SF bug #115530).
Diffstat (limited to 'Lib/test/output')
-rw-r--r--Lib/test/output/test_StringIO2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/output/test_StringIO b/Lib/test/output/test_StringIO
index 505023a..ce983c0 100644
--- a/Lib/test/output/test_StringIO
+++ b/Lib/test/output/test_StringIO
@@ -3,7 +3,9 @@ abcdefghij
klmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
2
+'abcdefghij'
abcdefghij
klmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
2
+'abcdefghij'