micropython/tests/io
Mike Wadsten 9f1eafc380 tests/io/bytesio_ext2: Remove dependency on specific EINVAL value
If MICROPY_USE_INTERNAL_ERRNO is disabled, MP_EINVAL is not guaranteed
to have the value 22, so we cannot depend on OSError(22,).
Instead, to support any given port's errno values, without relying
on uerrno, we just check that the args[0] is positive.
2018-05-01 15:48:43 +10:00
..
data tests: Add testcase for reading amounts bigger than buffer/chunk size. 2015-01-23 16:42:02 +02:00
argv.py unix: Implement sys.argv. 2014-01-20 01:00:28 +02:00
buffered_writer.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
buffered_writer.py.exp tests/io: Improve test coverage of io.BufferedWriter. 2017-01-17 13:27:02 +11:00
bytesio_cow.py py/objstringio: If created from immutable object, follow copy on write policy. 2017-06-09 17:33:01 +03:00
bytesio_ext.py tests/io/bytesio_ext: Test read() after seek() past end of BytesIO object. 2017-05-15 23:58:06 +03:00
bytesio_ext2.py tests/io/bytesio_ext2: Remove dependency on specific EINVAL value 2018-05-01 15:48:43 +10:00
bytesio_ext2.py.exp tests/io/bytesio_ext2: Remove dependency on specific EINVAL value 2018-05-01 15:48:43 +10:00
file1.py tests: Use read() instead of readall(). 2016-11-14 00:27:35 +03:00
file_iter.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
file_long_read.py tests: Add testcase for read by length past EOF. 2014-07-22 00:11:37 +03:00
file_long_read2.py tests: Add testcase for reading amounts bigger than buffer/chunk size. 2015-01-23 16:42:02 +02:00
file_long_read3.py tests: Fix typo in file_long_read3.py. 2015-01-23 19:00:02 +02:00
file_readinto.py tests: Add tests for stream IO errors. 2015-12-23 22:37:02 +00:00
file_readinto_len.py stream: Add optional 2nd "length" arg to .readinto() - extension to CPython. 2014-10-23 21:43:59 +03:00
file_readinto_len.py.exp stream: Add optional 2nd "length" arg to .readinto() - extension to CPython. 2014-10-23 21:43:59 +03:00
file_readline.py tests: Add tests for stream IO errors. 2015-12-23 22:37:02 +00:00
file_seek.py tests: Add tests for stream IO errors. 2015-12-23 22:37:02 +00:00
file_stdio.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
file_with.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
open_append.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
open_plus.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
resource_stream.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
resource_stream.py.exp py/modio: resource_stream: Implement "package" param handling. 2017-05-06 18:42:35 +03:00
stringio1.py all: Use the name MicroPython consistently in comments 2017-07-31 18:35:40 +10:00
stringio_with.py tests: Make "io" modules fixes for CPython compatibility. 2016-05-02 14:38:07 +03:00
write_ext.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
write_ext.py.exp tests: Add test for extended arguments to stream .write() method. 2016-07-14 11:48:15 +03:00