aboutsummaryrefslogtreecommitdiff
path: root/tests/io
AgeCommit message (Collapse)Author
2016-02-06tests/open_plus: Add tests for "r+", "w+" open modes.Paul Sokolovsky
2015-12-23tests: Add tests for stream IO errors.Damien George
2015-12-12unix: Rename "_os" module to "uos" for consistency with baremetal ports.Paul Sokolovsky
2015-08-21tests: Make io test cleanup after itself by removing 'testfile'.Damien George
2015-08-13py: Add stream_tell method, and use for unix and stmhal file tell.blmorris
2015-06-21tests: Add testcase for open(..., "a").Paul Sokolovsky
2015-04-04tests: Add missing tests for builtins, and many other things.Damien George
2015-01-29tests: Add some tests to improve coverage.Damien George
2015-01-23tests: Fix typo in file_long_read3.py.Paul Sokolovsky
2015-01-23tests: Add extra test for reading multiple of internal chunk size.Paul Sokolovsky
2015-01-23tests: Add testcase for reading amounts bigger than buffer/chunk size.Paul Sokolovsky
2015-01-20py: Prevent segfault for operations on closed StringIO.stijn
Addresses issue #1067.
2014-11-16py: Make stream seek correctly check for ioctl fn; add seek for textio.Damien George
2014-11-17tests: Add test for file.seek().Paul Sokolovsky
2014-10-23stream: Add optional 2nd "length" arg to .readinto() - extension to CPython.Paul Sokolovsky
While extension to file.readinto() definition of CPython, the additional arg is similar to what in CPython available in socket.recv_into().
2014-10-21Use mode/encoding kwargs in io and unicode testsstijn
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
2014-10-18unix, stmhal: Implement file.readinto() method.Paul Sokolovsky
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.
2014-07-22tests: Add testcase for read by length past EOF.Paul Sokolovsky
Currently broken for unicode input streams.
2014-07-05tests: Rename test scripts, changing - to _ for consistency.Damien George
From now on, all new tests must use underscore. Addresses issue #727.
2014-06-12py: Rename builtin "io" to "_io".Paul Sokolovsky
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).
2014-05-03py, stream: Implement readlines for a stream.Damien George
2014-04-26modio: Implement io.StringIO class.Paul Sokolovsky
2014-04-04tests/file-with: Add testcase which failed for @dpgeorge.Paul Sokolovsky
Works on x86.
2014-04-03unix file: Implement context manager protocol (for "with" statement).Paul Sokolovsky
2014-02-08io.File, socket types: Add fileno() method.Paul Sokolovsky
Implementation is duplicated, but tolerate this for now, because there's no clear idea how to de-dup it.
2014-01-20unix io.FileIO: Add iteration support.Paul Sokolovsky
A file cannot be iterated concurrently, so we make io.FileIO its own iterator.
2014-01-20unix: Implement sys.argv.Paul Sokolovsky
2014-01-19Add directory for I/O tests with basic test for file methods.Paul Sokolovsky