Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | test_iterator(): Don't do a type comparison to see if it's an | Barry Warsaw | 2001-09-25 | 1 | -1/+4 |
| | | | | | | iterator, just test to make sure it has the two required iterator protocol methods __iter__() and next() -- actually just test hasattr-ness. | ||||
* | StringIO patch #462596: let's [c]StringIO accept read buffers on | Marc-André Lemburg | 2001-09-24 | 1 | -8/+23 |
| | | | | input to .write() too. | ||||
* | Converted test_StringIO.py to use unittest, so | Barry Warsaw | 2001-09-22 | 1 | -41/+71 |
| | | | | | | | 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. | ||||
* | In O_writelines: Replace use of string.joinfields with "".join. | Jeremy Hylton | 2001-02-09 | 1 | -1/+7 |
| | |||||
* | Added a test for the StringIO write() error I just fixed. | Guido van Rossum | 2000-10-12 | 1 | -0/+7 |
| | |||||
* | Jack Jansen reported that the regression test failed on the Mac where | Guido van Rossum | 2000-10-11 | 1 | -3/+1 |
| | | | | | | | string.letters was much more than expected. Solution: explicit is better than implicit; don't rely on string.letters. | ||||
* | Uncommented tests that failed for cStringIO, | Jim Fulton | 2000-10-06 | 1 | -17/+11 |
| | | | | Added missing clode to make the clode test test a close. ;) | ||||
* | Added some tests for the truncate() method; one is commented out because | Fred Drake | 2000-09-28 | 1 | -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). | ||||
* | New test cases for the StringIO module | Martin v. Löwis | 2000-09-19 | 1 | -0/+15 |