summaryrefslogtreecommitdiff
path: root/Lib/test/test_StringIO.py
AgeCommit message (Collapse)AuthorLines
2002-10-07Whitespace normalization.Tim Peters-1/+1
2002-03-18Make StringIO work in non-unicode builds.Michael W. Hudson-12/+13
Lots of tests fail in non-unicode builds, but I think most of these are "bugs" in the tests. I hope so, anyway.
2002-01-28It's merge time!Michael W. Hudson-0/+15
Backport lemburg's checkin of revision 1.11: Restore Python 2.1 StringIO.py behaviour: support concatenating Unicode string snippets to larger Unicode strings. This fix should also go into Python 2.2.1.
2001-12-09A workaround for the missing buffer() builtin in jython.Finn Bock-0/+6
This closes patch "[ #490850 ] Jython and test_StringIO".
2001-09-25test_iterator(): Don't do a type comparison to see if it's anBarry Warsaw-1/+4
iterator, just test to make sure it has the two required iterator protocol methods __iter__() and next() -- actually just test hasattr-ness.
2001-09-24StringIO patch #462596: let's [c]StringIO accept read buffers onMarc-André Lemburg-8/+23
input to .write() too.
2001-09-22Converted test_StringIO.py to use unittest, soBarry Warsaw-37/+67
Lib/test/output/test_StringIO is no longer necessary. Also, added a test of the iterator protocol that's just been added to StringIO's and cStringIO's.
2001-02-09In O_writelines: Replace use of string.joinfields with "".join.Jeremy Hylton-1/+7
2000-10-12Added a test for the StringIO write() error I just fixed.Guido van Rossum-0/+7
2000-10-11Jack Jansen reported that the regression test failed on the Mac whereGuido van Rossum-3/+1
string.letters was much more than expected. Solution: explicit is better than implicit; don't rely on string.letters.
2000-10-06Uncommented tests that failed for cStringIO,Jim Fulton-17/+11
Added missing clode to make the clode test test a close. ;)
2000-09-28Added some tests for the truncate() method; one is commented out becauseFred Drake-0/+23
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).
2000-09-19New test cases for the StringIO moduleMartin v. Löwis-0/+15