summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_memoryio.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue 2918: Merge StringIO and cStringIO.Alexandre Vassalotti2008-06-111-3/+7
|
* #2621 rename test.test_support to test.supportBenjamin Peterson2008-05-201-2/+2
|
* Removed test_overflow from test_memoryio.CBytesIOTest.Alexandre Vassalotti2008-05-081-13/+0
| | | | | This test depends too much on the platform it is running-on to be useful.
* Changed _bytesio.c to avoid comparing a signed with an unsigned value.Alexandre Vassalotti2008-05-071-0/+14
| | | | Added tests for overflow checks.
* Fixed a small bug introduced by r62778.Alexandre Vassalotti2008-05-061-0/+2
| | | | | | | One of the codepaths of _BytesIO.read() returned a bytearray object, by mistake, when it should always return a bytes object. Interestingly, the fact this bug shown up probably means that some platforms are not using the new C-accelerated io.BytesIO.
* Added tests to check the buffer type returned during reading.Alexandre Vassalotti2008-05-061-0/+6
|
* Added fast alternate io.BytesIO implementation and its test suite.Alexandre Vassalotti2008-05-061-0/+405
Removed old test suite for StringIO. Modified truncate() to imply a seek to given argument value.