summaryrefslogtreecommitdiffstats
path: root/Lib/test/output/test_StringIO
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-10-12 16:46:28 (GMT)
committerGuido van Rossum <guido@python.org>2000-10-12 16:46:28 (GMT)
commit22d5895dc337bb457dba6ce3623d835f32f32962 (patch)
tree0ad8a888b06b1cddc66c77532ec3f07959b49cb0 /Lib/test/output/test_StringIO
parentb636dc67ed3c351d9631a7900ea05c3394a99518 (diff)
downloadcpython-22d5895dc337bb457dba6ce3623d835f32f32962.zip
cpython-22d5895dc337bb457dba6ce3623d835f32f32962.tar.gz
cpython-22d5895dc337bb457dba6ce3623d835f32f32962.tar.bz2
Added a test for the StringIO write() error I just fixed.
Diffstat (limited to 'Lib/test/output/test_StringIO')
-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 e2c5c31..e2b2893 100644
--- a/Lib/test/output/test_StringIO
+++ b/Lib/test/output/test_StringIO
@@ -3,6 +3,7 @@ abcdefghij
klmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
2
+'abcuvwxyz!'
'abcdefghij'
'abcde'
Caught expected ValueError writing to closed StringIO:
@@ -11,6 +12,7 @@ abcdefghij
klmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
2
+'abcuvwxyz!'
'abcdefghij'
'abcde'
Caught expected ValueError writing to closed StringIO: