summaryrefslogtreecommitdiffstatshomepage
path: root/tests/io
Commit message (Collapse)AuthorAge
* tests/io/bytesio_ext: Test read() after seek() past end of BytesIO object.Tom Collins2017-05-15
|
* py/modio: resource_stream: Implement "package" param handling.Paul Sokolovsky2017-05-06
|
* tests/io/resource_stream: Add test for uio.resource_stream().Paul Sokolovsky2017-05-03
|
* tests/io: Improve test coverage of io.BufferedWriter.Rami Ali2017-01-17
|
* tests: Use read() instead of readall().Paul Sokolovsky2016-11-14
|
* tests/io/bytesio_ext: Add test for readinto().Paul Sokolovsky2016-10-09
|
* tests/io/write_ext: Add description comment.Paul Sokolovsky2016-10-09
|
* tests/io/bytesio_ext: Test for .seek()/.flush() on BytesIO.Paul Sokolovsky2016-07-29
|
* tests: Add test for extended arguments to stream .write() method.Paul Sokolovsky2016-07-14
|
* tests: Make "io" modules fixes for CPython compatibility.Paul Sokolovsky2016-05-02
| | | | | | | Previously, "import _io" worked on both CPython and MicroPython (essentially by a chance on CPython, as there's not guarantee that its contents will stay the same across versions), but as the module was renamed to uio, need to use more robust import sequence for compatibility.
* tests: Update for _io/_collections module having been renamed.Paul Sokolovsky2016-05-02
|
* tests: Add test for io.BufferedWriter.Paul Sokolovsky2016-03-25
|
* tests/io: Remove "testfile" at end of open_plus test.Damien George2016-03-17
|
* tests/open_plus: Add tests for "r+", "w+" open modes.Paul Sokolovsky2016-02-06
|
* tests: Add tests for stream IO errors.Damien George2015-12-23
|
* unix: Rename "_os" module to "uos" for consistency with baremetal ports.Paul Sokolovsky2015-12-12
|
* tests: Make io test cleanup after itself by removing 'testfile'.Damien George2015-08-21
|
* py: Add stream_tell method, and use for unix and stmhal file tell.blmorris2015-08-13
|
* tests: Add testcase for open(..., "a").Paul Sokolovsky2015-06-21
|
* tests: Add missing tests for builtins, and many other things.Damien George2015-04-04
|
* tests: Add some tests to improve coverage.Damien George2015-01-29
|
* tests: Fix typo in file_long_read3.py.Paul Sokolovsky2015-01-23
|
* tests: Add extra test for reading multiple of internal chunk size.Paul Sokolovsky2015-01-23
|
* tests: Add testcase for reading amounts bigger than buffer/chunk size.Paul Sokolovsky2015-01-23
|
* py: Prevent segfault for operations on closed StringIO.stijn2015-01-20
| | | | Addresses issue #1067.
* py: Make stream seek correctly check for ioctl fn; add seek for textio.Damien George2014-11-16
|
* tests: Add test for file.seek().Paul Sokolovsky2014-11-17
|
* stream: Add optional 2nd "length" arg to .readinto() - extension to CPython.Paul Sokolovsky2014-10-23
| | | | | While extension to file.readinto() definition of CPython, the additional arg is similar to what in CPython available in socket.recv_into().
* Use mode/encoding kwargs in io and unicode testsstijn2014-10-21
| | | | | | mode argument is used to assert it works encoding argument is used to make sure CPython uses the correct encoding as it does not automatically use utf-8
* unix, stmhal: Implement file.readinto() method.Paul Sokolovsky2014-10-18
| | | | | | Also, usocket.readinto(). Known issue is that .readinto() should be available only for binary files, but micropython uses single method table for both binary and text files.
* tests: Add testcase for read by length past EOF.Paul Sokolovsky2014-07-22
| | | | Currently broken for unicode input streams.
* tests: Rename test scripts, changing - to _ for consistency.Damien George2014-07-05
| | | | | | From now on, all new tests must use underscore. Addresses issue #727.
* py: Rename builtin "io" to "_io".Paul Sokolovsky2014-06-12
| | | | | | | | Functionality we provide in builtin io module is fairly minimal. Some code, including CPython stdlib, depends on more functionality. So, there's a choice to either implement it in C, or move it _io, and let implement other functionality in Python. 2nd choice is pursued. This setup matches CPython too (_io is builtin, io is Python-level).
* py, stream: Implement readlines for a stream.Damien George2014-05-03
|
* modio: Implement io.StringIO class.Paul Sokolovsky2014-04-26
|
* tests/file-with: Add testcase which failed for @dpgeorge.Paul Sokolovsky2014-04-04
| | | | Works on x86.
* unix file: Implement context manager protocol (for "with" statement).Paul Sokolovsky2014-04-03
|
* io.File, socket types: Add fileno() method.Paul Sokolovsky2014-02-08
| | | | | Implementation is duplicated, but tolerate this for now, because there's no clear idea how to de-dup it.
* unix io.FileIO: Add iteration support.Paul Sokolovsky2014-01-20
| | | | | A file cannot be iterated concurrently, so we make io.FileIO its own iterator.
* unix: Implement sys.argv.Paul Sokolovsky2014-01-20
|
* Add directory for I/O tests with basic test for file methods.Paul Sokolovsky2014-01-19