commit | 22d5895dc337bb457dba6ce3623d835f32f32962 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Oct 12 16:46:28 2000 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu Oct 12 16:46:28 2000 +0000 |
tree | 0ad8a888b06b1cddc66c77532ec3f07959b49cb0 | |
parent | b636dc67ed3c351d9631a7900ea05c3394a99518 [diff] [blame] |
Added a test for the StringIO write() error I just fixed.
diff --git a/Lib/test/test_StringIO.py b/Lib/test/test_StringIO.py index b1fca84..ea237cd 100644 --- a/Lib/test/test_StringIO.py +++ b/Lib/test/test_StringIO.py
@@ -8,6 +8,13 @@ print len(f.readlines(60)) f = module.StringIO() + f.write('abcdef') + f.seek(3) + f.write('uvwxyz') + f.write('!') + print `f.getvalue()` + f.close() + f = module.StringIO() f.write(s) f.seek(10) f.truncate()