circuitpython/tests/extmod
Damien Tournoud ed58d6e4ce extmod/modussl_mbedtls: Fix support for ioctl(MP_STREAM_POLL).
During the initial handshake or subsequent renegotiation, the protocol
might need to read in order to write (or conversely to write in order
to read). It might be blocked from doing so by the state of the
underlying socket (i.e. there is no data to read, or there is no space
to write).

The library indicates this condition by returning one of the errors
`MBEDTLS_ERR_SSL_WANT_READ` or `MBEDTLS_ERR_SSL_WANT_WRITE`. When that
happens, we need to enforce that the next poll operation only considers
the direction that the library indicated.

In addition, mbedtls does its own read buffering that we need to take
into account while polling, and we need to save the last error between
read()/write() and ioctl().
2022-12-15 12:06:22 -08:00
..
btree1.py extmod/modbtree: Use buffer protocol for keys/values. 2022-06-21 00:44:49 +10:00
btree1.py.exp tests/extmod/btree1: Checks for put, seq, string print and unsupported binary op. 2016-10-05 00:17:22 +11:00
btree_error.py tests: Use .errno instead of .args[0] for OSError exceptions. 2021-04-23 22:03:46 +10:00
btree_error.py.exp tests/extmod: Add btree test for errors raised by btree DB library. 2020-04-27 23:59:09 +10:00
btree_gc.py tests/extmod/btree_gc.py: Close the database to avoid a memory leak. 2021-05-30 11:50:51 +10:00
btree_gc.py.exp extmod/modbtree: Retain reference to underlying stream so it's not GC'd. 2020-05-02 16:08:04 +10:00
framebuf1.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
framebuf1.py.exp extmod/modframebuf: Make monochrome bitmap formats start with MONO_. 2017-04-04 17:38:33 +10:00
framebuf2.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
framebuf2.py.exp extmod/modframebuf: Add 2-bit color format (GS2_HMSB). 2017-12-14 17:13:02 +11:00
framebuf4.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
framebuf4.py.exp tests/extmod/framebuf4: Add tests for GS4_HMSB framebuf format. 2017-01-25 23:20:19 +11:00
framebuf8.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
framebuf8.py.exp extmod/modframebuf: Add 8-bit greyscale format (GS8). 2017-12-14 17:36:13 +11:00
framebuf16.py tests: Make float and framebuf tests skip or run on big-endian archs. 2021-05-26 16:33:18 +10:00
framebuf16.py.exp extmod/modframebuf: Make FrameBuffer handle 16bit depth. 2016-12-01 16:43:25 +11:00
framebuf_ellipse.py extmod/modframebuf: Add ellipse drawing method. 2022-08-19 23:31:28 +10:00
framebuf_ellipse.py.exp extmod/modframebuf: Add ellipse drawing method. 2022-08-19 23:31:28 +10:00
framebuf_palette.py extmod/modframebuf: Enable blit between different formats via a palette. 2021-08-25 15:31:23 +10:00
framebuf_palette.py.exp extmod/modframebuf: Enable blit between different formats via a palette. 2021-08-25 15:31:23 +10:00
framebuf_polygon.py extmod/modframebuf: Add polygon drawing methods. 2022-08-19 23:31:28 +10:00
framebuf_polygon.py.exp extmod/modframebuf: Improve poly-fill boundary pixels. 2022-08-19 23:31:28 +10:00
framebuf_scroll.py tests/extmod/framebuf_scroll: Add tests for FrameBuffer scrolling. 2022-12-09 16:47:08 +11:00
framebuf_scroll.py.exp tests/extmod/framebuf_scroll: Add tests for FrameBuffer scrolling. 2022-12-09 16:47:08 +11:00
framebuf_subclass.py tests: Make float and framebuf tests skip or run on big-endian archs. 2021-05-26 16:33:18 +10:00
framebuf_subclass.py.exp extmod/modframebuf: Allow blit source to be a subclass of FrameBuffer. 2020-02-21 13:32:48 +11:00
machine1.py extmod/machine_mem: Only allow integers in machine.memX subscript. 2020-11-13 11:13:37 +11:00
machine1.py.exp extmod/machine_mem: Only allow integers in machine.memX subscript. 2020-11-13 11:13:37 +11:00
machine_i2s_rate.py tests/extmod: Update I2S rate test to work on mimxrt. 2022-03-30 14:14:57 +11:00
machine_i2s_rate.py.exp tests/extmod: Add test for machine.I2S data rate. 2022-03-29 11:44:08 +11:00
machine_pinbase.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
machine_pinbase.py.exp tests: Add a testcase for machine.PinBase class. 2016-06-19 19:45:29 +03:00
machine_pulse.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
machine_pulse.py.exp extmod/machine_pulse: Make time_pulse_us() not throw exceptions. 2017-02-05 14:20:17 +03:00
machine_signal.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
machine_signal.py.exp tests/extmod: Add test for machine.Signal class. 2017-03-02 16:09:16 +11:00
machine_timer.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
machine_timer.py.exp tests/extmod: Add basic machine.Timer test. 2020-01-22 17:31:18 +11:00
ticks_add.py extmod/utime_mphal: Make ticks_add check for overflow of delta. 2022-10-14 15:54:53 +11:00
ticks_add.py.exp extmod/utime_mphal: Make ticks_add check for overflow of delta. 2022-10-14 15:54:53 +11:00
ticks_diff.py tests/run-tests: Auto-skip extmod/ticks_diff, extmod/time_ms_us tests. 2020-02-11 10:56:49 +11:00
ticks_diff.py.exp tests/extmod/ticks_diff: Test for new semantics of ticks_diff(). 2016-10-30 21:33:12 +03:00
time_ms_us.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
time_ms_us.py.exp tests/extmod/time_ms_us: Add test for calling ticks_cpu(). 2018-03-04 00:17:33 +11:00
uasyncio_await_return.py tests/extmod: Add uasyncio tests. 2020-03-26 01:25:45 +11:00
uasyncio_await_return.py.exp tests/extmod: Add uasyncio tests. 2020-03-26 01:25:45 +11:00
uasyncio_basic2.py tests/extmod: Add uasyncio tests. 2020-03-26 01:25:45 +11:00
uasyncio_basic2.py.exp tests/extmod: Add uasyncio tests. 2020-03-26 01:25:45 +11:00
uasyncio_basic.py tests/extmod: Increase timing on uasyncio tests to make more reliable. 2022-05-03 22:53:12 +10:00
uasyncio_basic.py.exp tests/extmod: Increase timing on uasyncio tests to make more reliable. 2022-05-03 22:53:12 +10:00
uasyncio_cancel_fair2.py tests/extmod: Add uasyncio tests. 2020-03-26 01:25:45 +11:00
uasyncio_cancel_fair2.py.exp tests/extmod: Add uasyncio tests. 2020-03-26 01:25:45 +11:00
uasyncio_cancel_fair.py tests/extmod: Add uasyncio tests. 2020-03-26 01:25:45 +11:00
uasyncio_cancel_fair.py.exp tests/extmod: Add uasyncio tests. 2020-03-26 01:25:45 +11:00
uasyncio_cancel_self.py tests/extmod: Add uasyncio tests. 2020-03-26 01:25:45 +11:00
uasyncio_cancel_self.py.exp extmod/uasyncio: Change cannot to can't in error message, and test exp. 2020-04-14 21:51:25 +10:00
uasyncio_cancel_task.py tests/extmod: Add uasyncio tests. 2020-03-26 01:25:45 +11:00
uasyncio_cancel_task.py.exp tests/extmod: Add uasyncio tests. 2020-03-26 01:25:45 +11:00
uasyncio_cancel_wait_on_finished.py extmod/uasyncio: Fix race with cancelled task waiting on finished task. 2021-06-16 13:02:37 +10:00
uasyncio_cancel_wait_on_finished.py.exp extmod/uasyncio: Fix race with cancelled task waiting on finished task. 2021-06-16 13:02:37 +10:00
uasyncio_current_task.py extmod/uasyncio: Add asyncio.current_task(). 2021-02-13 15:11:17 +11:00
uasyncio_current_task.py.exp extmod/uasyncio: Add asyncio.current_task(). 2021-02-13 15:11:17 +11:00
uasyncio_event_fair.py tests/extmod: Add uasyncio tests. 2020-03-26 01:25:45 +11:00
uasyncio_event_fair.py.exp tests/extmod: Add uasyncio tests. 2020-03-26 01:25:45 +11:00
uasyncio_event.py tests/extmod: Add uasyncio tests. 2020-03-26 01:25:45 +11:00
uasyncio_event.py.exp tests/extmod: Add uasyncio tests. 2020-03-26 01:25:45 +11:00
uasyncio_exception.py tests/extmod: Add uasyncio tests. 2020-03-26 01:25:45 +11:00
uasyncio_exception.py.exp tests/extmod: Add uasyncio tests. 2020-03-26 01:25:45 +11:00
uasyncio_fair.py tests/extmod: Make uasyncio_fair test more reliable by adjusting sleeps. 2020-08-26 17:05:52 +10:00
uasyncio_fair.py.exp extmod/uasyncio: Truncate negative sleeps to 0. 2020-08-22 12:17:06 +10:00
uasyncio_gather_notimpl.py extmod/uasyncio: Fix gather cancelling and handling of exceptions. 2022-03-30 16:07:44 +11:00
uasyncio_gather_notimpl.py.exp extmod/uasyncio: Fix gather cancelling and handling of exceptions. 2022-03-30 16:07:44 +11:00
uasyncio_gather.py extmod/uasyncio: Handle gather with no awaitables. 2022-07-26 18:16:19 +10:00
uasyncio_gather.py.exp extmod/uasyncio: Handle gather with no awaitables. 2022-07-26 18:16:19 +10:00
uasyncio_get_event_loop.py tests/extmod: Add uasyncio tests. 2020-03-26 01:25:45 +11:00
uasyncio_heaplock.py tests/extmod/uasyncio_heaplock.py: Force SKIP on stackless. 2022-09-13 17:41:02 +10:00
uasyncio_heaplock.py.exp tests/extmod: Add heap-lock test for stream writing. 2022-06-24 17:00:24 +10:00
uasyncio_lock_cancel.py tests/extmod: Add uasyncio tests. 2020-03-26 01:25:45 +11:00
uasyncio_lock_cancel.py.exp tests/extmod: Add uasyncio tests. 2020-03-26 01:25:45 +11:00
uasyncio_lock.py tests/extmod: Add uasyncio tests. 2020-03-26 01:25:45 +11:00
uasyncio_lock.py.exp tests/extmod: Add uasyncio tests. 2020-03-26 01:25:45 +11:00
uasyncio_loop_stop.py extmod/uasyncio: Implement Loop.stop() to stop the event loop. 2020-04-02 00:14:18 +11:00
uasyncio_loop_stop.py.exp extmod/uasyncio: Implement Loop.stop() to stop the event loop. 2020-04-02 00:14:18 +11:00
uasyncio_micropython.py tests/extmod: Add test for sleep_ms value that overflows ticks. 2022-10-14 16:10:38 +11:00
uasyncio_micropython.py.exp tests/extmod: Add test for sleep_ms value that overflows ticks. 2022-10-14 16:10:38 +11:00
uasyncio_new_event_loop.py extmod/uasyncio: Add Loop.new_event_loop method. 2020-04-13 22:16:52 +10:00
uasyncio_new_event_loop.py.exp extmod/uasyncio: Add Loop.new_event_loop method. 2020-04-13 22:16:52 +10:00
uasyncio_set_exception_handler.py extmod/uasyncio: Delay calling Loop.call_exception_handler by 1 loop. 2020-12-02 12:07:06 +11:00
uasyncio_set_exception_handler.py.exp extmod/uasyncio: Delay calling Loop.call_exception_handler by 1 loop. 2020-12-02 12:07:06 +11:00
uasyncio_task_done.py extmod/uasyncio: Add Task.done() method. 2020-12-02 12:07:06 +11:00
uasyncio_task_done.py.exp extmod/uasyncio: Add Task.done() method. 2020-12-02 12:07:06 +11:00
uasyncio_threadsafeflag.py extmod/uasyncio: Add clear method to ThreadSafeFlag. 2022-08-12 17:06:28 +10:00
uasyncio_threadsafeflag.py.exp extmod/uasyncio: Add clear method to ThreadSafeFlag. 2022-08-12 17:06:28 +10:00
uasyncio_wait_for_fwd.py extmod/uasyncio: Fix cancellation handling of wait_for. 2020-12-02 12:31:37 +11:00
uasyncio_wait_for_fwd.py.exp extmod/uasyncio: Fix cancellation handling of wait_for. 2020-12-02 12:31:37 +11:00
uasyncio_wait_for.py extmod/uasyncio: Fix edge case for cancellation of wait_for. 2022-06-02 17:14:20 +10:00
uasyncio_wait_for.py.exp extmod/uasyncio: Fix edge case for cancellation of wait_for. 2022-06-02 17:14:20 +10:00
uasyncio_wait_task.py tests/extmod: Increase timing on uasyncio tests to make more reliable. 2022-05-03 22:53:12 +10:00
uasyncio_wait_task.py.exp tests/extmod: Increase timing on uasyncio tests to make more reliable. 2022-05-03 22:53:12 +10:00
ubinascii_a2b_base64.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
ubinascii_b2a_base64.py extmod/modubinascii: Add newline keyword to b2a_base64 function. 2022-01-23 10:18:01 +11:00
ubinascii_crc32.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
ubinascii_hexlify.py tests/extmod/ubinascii: Add tests for bytes.hex etc. 2022-08-12 12:44:30 +10:00
ubinascii_unhexlify.py tests/extmod/ubinascii: Add tests for bytes.hex etc. 2022-08-12 12:44:30 +10:00
ucryptolib_aes128_cbc.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
ucryptolib_aes128_cbc.py.exp tests/extmod/ucryptolib*: Add tests for ucryptolib module. 2018-06-27 14:56:31 +10:00
ucryptolib_aes128_ctr.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
ucryptolib_aes128_ctr.py.exp extmod/moducryptolib: Add AES-CTR support. 2019-05-06 18:09:48 +10:00
ucryptolib_aes128_ecb_enc.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
ucryptolib_aes128_ecb_enc.py.exp tests/extmod/ucryptolib*: Add tests for ucryptolib module. 2018-06-27 14:56:31 +10:00
ucryptolib_aes128_ecb_inpl.py tests/extmod/ucryptolib*: Add into and inplace tests for ucryptolib. 2018-06-27 14:56:46 +10:00
ucryptolib_aes128_ecb_inpl.py.exp tests/extmod/ucryptolib*: Add into and inplace tests for ucryptolib. 2018-06-27 14:56:46 +10:00
ucryptolib_aes128_ecb_into.py tests/extmod/ucryptolib*: Add into and inplace tests for ucryptolib. 2018-06-27 14:56:46 +10:00
ucryptolib_aes128_ecb_into.py.exp tests/extmod/ucryptolib*: Add into and inplace tests for ucryptolib. 2018-06-27 14:56:46 +10:00
ucryptolib_aes128_ecb.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
ucryptolib_aes128_ecb.py.exp tests/extmod/ucryptolib*: Add tests for ucryptolib module. 2018-06-27 14:56:31 +10:00
ucryptolib_aes256_cbc.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
ucryptolib_aes256_cbc.py.exp tests/extmod/ucryptolib*: Add tests for ucryptolib module. 2018-06-27 14:56:31 +10:00
ucryptolib_aes256_ecb.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
ucryptolib_aes256_ecb.py.exp tests/extmod/ucryptolib*: Add tests for ucryptolib module. 2018-06-27 14:56:31 +10:00
uctypes_32bit_intbig.py tests/extmod: Use bytearray instead of bytes for uctypes test. 2022-05-18 15:23:11 +10:00
uctypes_32bit_intbig.py.exp tests/extmod: Use bytearray instead of bytes for uctypes test. 2022-05-18 15:23:11 +10:00
uctypes_array_assign_le.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
uctypes_array_assign_le.py.exp tests/uctypes: Test item assignment for scalar arrays. 2016-01-03 20:32:51 +02:00
uctypes_array_assign_native_le_intbig.py all: Rename "sys" module to "usys". 2020-09-04 00:10:24 +10:00
uctypes_array_assign_native_le_intbig.py.exp tests/uctypes_array_assign_native_le: Split off intbig part. 2017-03-07 08:40:03 +01:00
uctypes_array_assign_native_le.py all: Rename "sys" module to "usys". 2020-09-04 00:10:24 +10:00
uctypes_array_assign_native_le.py.exp tests/uctypes_array_assign_native_le: Split off intbig part. 2017-03-07 08:40:03 +01:00
uctypes_array_load_store.py py/binary: Fix sign extension setting wide integer on 32-bit archs. 2020-11-11 22:18:24 +11:00
uctypes_array_load_store.py.exp py/binary: Fix sign extension setting wide integer on 32-bit archs. 2020-11-11 22:18:24 +11:00
uctypes_bytearray.py tests/extmod: Add some uctypes tests to improve coverage of that module. 2017-12-19 16:48:41 +11:00
uctypes_bytearray.py.exp tests/extmod: Add some uctypes tests to improve coverage of that module. 2017-12-19 16:48:41 +11:00
uctypes_byteat.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
uctypes_byteat.py.exp tests/extmod: Add some uctypes tests to improve coverage of that module. 2017-12-19 16:48:41 +11:00
uctypes_error.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
uctypes_error.py.exp tests/extmod/uctypes_error: Add test for unsupported unary op. 2018-12-10 14:29:41 +11:00
uctypes_le_float.py extmod/moductypes: Fix size and offset calculation for ARRAY of FLOAT32. 2021-05-06 13:11:33 +10:00
uctypes_le_float.py.exp extmod/moductypes: Fix size and offset calculation for ARRAY of FLOAT32. 2021-05-06 13:11:33 +10:00
uctypes_le.py all: Update Python code to conform to latest black formatting. 2020-08-29 15:18:01 +10:00
uctypes_le.py.exp tests/extmod: Improve moductypes test coverage. 2016-12-12 17:09:14 +11:00
uctypes_native_float.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
uctypes_native_float.py.exp extmod/uctypes: Finish support for FLOAT32 and FLOAT64 types. 2016-03-19 21:59:42 +00:00
uctypes_native_le.py all: Rename "sys" module to "usys". 2020-09-04 00:10:24 +10:00
uctypes_native_le.py.exp tests/extmod: Improve moductypes test coverage. 2016-12-12 17:09:14 +11:00
uctypes_print.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
uctypes_print.py.exp tests/extmod: Improve moductypes test coverage. 2016-12-12 17:09:14 +11:00
uctypes_ptr_le.py all: Rename "sys" module to "usys". 2020-09-04 00:10:24 +10:00
uctypes_ptr_le.py.exp tests/extmod/uctypes_ptr_le: Test int() operation on a pointer field. 2018-12-10 14:25:06 +11:00
uctypes_ptr_native_le.py all: Rename "sys" module to "usys". 2020-09-04 00:10:24 +10:00
uctypes_ptr_native_le.py.exp moductypes: Foreign data interface module, roughly based on ctype ideas. 2014-07-09 19:28:24 +03:00
uctypes_sizeof_float.py extmod/moductypes: Fix size and offset calculation for ARRAY of FLOAT32. 2021-05-06 13:11:33 +10:00
uctypes_sizeof_float.py.exp extmod/moductypes: Fix size and offset calculation for ARRAY of FLOAT32. 2021-05-06 13:11:33 +10:00
uctypes_sizeof_layout.py tests/extmod/uctypes_sizeof_layout: Test for sizeof of different layout. 2018-10-23 11:33:35 +11:00
uctypes_sizeof_layout.py.exp tests/extmod/uctypes_sizeof_layout: Test for sizeof of different layout. 2018-10-23 11:33:35 +11:00
uctypes_sizeof_native.py all: Update Python code to conform to latest black formatting. 2020-08-29 15:18:01 +10:00
uctypes_sizeof_native.py.exp moductypes: Foreign data interface module, roughly based on ctype ideas. 2014-07-09 19:28:24 +03:00
uctypes_sizeof_od.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
uctypes_sizeof_od.py.exp tests/uctypes_sizeof_od: Test for using OrderedDict as struct descriptor 2018-10-13 16:08:25 +11:00
uctypes_sizeof.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
uctypes_sizeof.py.exp tests/extmod: Add some uctypes tests to improve coverage of that module. 2017-12-19 16:48:41 +11:00
uhashlib_final.py extmod/moduhashlib: Put hash obj in final state after digest is called. 2021-05-26 21:44:46 +10:00
uhashlib_final.py.exp extmod/moduhashlib: Put hash obj in final state after digest is called. 2021-05-26 21:44:46 +10:00
uhashlib_md5.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
uhashlib_sha1.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
uhashlib_sha256.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
uheapq1.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
ujson_dump_iobase.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
ujson_dump_separators.py tests/extmod/ujson: Add tests for dump/dumps separators argument. 2021-08-07 13:52:16 +10:00
ujson_dump.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
ujson_dumps_extra.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
ujson_dumps_extra.py.exp tests: Add tests to improve coverage of objstr.c. 2015-09-03 23:06:18 +01:00
ujson_dumps_float.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
ujson_dumps_ordereddict.py py/objdict: Support ujson.dump() of OrderedDict objects. 2019-11-13 13:51:18 +11:00
ujson_dumps_separators.py tests/extmod/ujson: Add tests for dump/dumps separators argument. 2021-08-07 13:52:16 +10:00
ujson_dumps.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
ujson_load.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
ujson_loads_bytes.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
ujson_loads_bytes.py.exp tests/extmod: Split json.loads of bytes/bytearray into separate test. 2019-08-22 15:45:13 +10:00
ujson_loads_float.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
ujson_loads.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
urandom_basic.py extmod/modurandom: Support an argument of bits=0 to getrandbits. 2021-05-30 17:05:56 +10:00
urandom_basic.py.exp extmod/modurandom: Support an argument of bits=0 to getrandbits. 2021-05-30 17:05:56 +10:00
urandom_extra_float.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
urandom_extra.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
urandom_seed_default.py extmod/modurandom: Support urandom.seed() without an argument. 2020-10-29 14:15:16 +11:00
ure1.py extmod/ure: Use single function for match/search/sub. 2020-06-08 09:16:09 +02:00
ure_debug.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
ure_debug.py.exp tests/extmod: Add test for ure debug printing when compiling a regex. 2017-01-26 23:45:51 +11:00
ure_error.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
ure_group.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
ure_groups.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
ure_limit.py extmod/re1.5: Check and report byte overflow errors in _compilecode. 2021-04-06 13:36:42 +10:00
ure_limit.py.exp extmod/re1.5: Check and report byte overflow errors in _compilecode. 2021-04-06 13:36:42 +10:00
ure_namedclass.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
ure_span.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
ure_split_empty.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
ure_split_empty.py.exp tests/extmod: Move split-on-empty-match tests to a separate test file. 2016-04-26 10:19:04 +01:00
ure_split_notimpl.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
ure_split_notimpl.py.exp tests/extmod: Improve test coverage of ure module. 2017-01-17 17:42:37 +11:00
ure_split.py extmod/modure: Set subject begin_line so ^ doesn't match interior. 2022-03-16 12:21:00 +11:00
ure_stack_overflow.py tests/extmod: Add test for ure regexes leading to infinite recursion. 2017-10-03 00:24:32 +03:00
ure_stack_overflow.py.exp tests/extmod: Add test for ure regexes leading to infinite recursion. 2017-10-03 00:24:32 +03:00
ure_sub_unmatched.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
ure_sub_unmatched.py.exp extmod/modure: Add ure.sub() function and method, and tests. 2018-07-02 14:55:02 +10:00
ure_sub.py extmod/modure: Set subject begin_line so ^ doesn't match interior. 2022-03-16 12:21:00 +11:00
uselect_poll_basic.py tests: Use .errno instead of .args[0] for OSError exceptions. 2021-04-23 22:03:46 +10:00
uselect_poll_udp.py tests/extmod: Skip uselect_poll_udp when poll() is not available. 2022-01-04 15:07:45 +11:00
usocket_tcp_basic.py tests: Use .errno instead of .args[0] for OSError exceptions. 2021-04-23 22:03:46 +10:00
usocket_udp_nonblock.py tests: Use .errno instead of .args[0] for OSError exceptions. 2021-04-23 22:03:46 +10:00
ussl_basic.py tests/extmod/ussl_basic: Make test run on axtls and mbedtls. 2022-07-18 18:12:39 +10:00
ussl_basic.py.exp extmod/modussl_mbedtls: Fix support for ioctl(MP_STREAM_POLL). 2022-12-15 12:06:22 -08:00
ussl_keycert.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
ussl_keycert.py.exp tests/extmod: Add test for ussl when passing in key/cert params. 2019-10-31 16:38:20 +11:00
ussl_poll.py extmod/modussl_mbedtls: Fix support for ioctl(MP_STREAM_POLL). 2022-12-15 12:06:22 -08:00
ussl_poll.py.exp extmod/modussl_mbedtls: Fix support for ioctl(MP_STREAM_POLL). 2022-12-15 12:06:22 -08:00
utime_res.py tests/extmod: Add test for the precision of utime functions. 2021-01-23 16:54:57 +11:00
utime_res.py.exp tests/extmod: Add test for the precision of utime functions. 2021-01-23 16:54:57 +11:00
utime_time_ns.py tests/extmod/utime_time_ns.py: Relax bounds on time_ns measurement. 2021-02-01 18:44:28 +11:00
utime_time_ns.py.exp extmod/utime_mphal: Add generic utime.time_ns() function. 2020-10-01 14:20:42 +10:00
utimeq1.py all: Update Python formatting to latest Black version 21.12b0. 2021-12-09 12:09:40 +11:00
utimeq1.py.exp tests/extmod: Add test for utimeq module. 2016-12-22 00:31:38 +03:00
utimeq_stable.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
utimeq_stable.py.exp tests/utimeq_stable: Test for partial stability of utimeq queuing. 2016-12-24 00:25:15 +03:00
uzlib_decompio_gz.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
uzlib_decompio_gz.py.exp tests/extmod: Improve tinfgzip.c test coverage. 2017-03-14 22:13:36 +11:00
uzlib_decompio.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
uzlib_decompio.py.exp tests/extmod/uzlib_decompio: Add zlib bitstream testcases. 2016-09-04 14:45:27 +03:00
uzlib_decompress.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
vfs_basic.py extmod/vfs: Fix lookup of entry in root dir so it fails correctly. 2020-09-23 16:23:35 +10:00
vfs_basic.py.exp extmod/vfs: Fix lookup of entry in root dir so it fails correctly. 2020-09-23 16:23:35 +10:00
vfs_blockdev.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
vfs_blockdev.py.exp tests/extmod: Add test for blockdev with standard and extended protocol. 2019-10-29 14:17:29 +11:00
vfs_fat_fileio1.py tests: Use .errno instead of .args[0] for OSError exceptions. 2021-04-23 22:03:46 +10:00
vfs_fat_fileio1.py.exp tests/extmod: Split out VfsFat finaliser tests to separate test file. 2019-12-27 12:30:51 +11:00
vfs_fat_fileio2.py tests: Use .errno instead of .args[0] for OSError exceptions. 2021-04-23 22:03:46 +10:00
vfs_fat_fileio2.py.exp extmod/vfs_fat: Add file size as 4th element of uos.ilistdir tuple. 2018-03-12 12:26:36 +11:00
vfs_fat_finaliser.py tests/extmod/vfs_fat_finaliser.py: Make finalisation more robust. 2022-02-12 09:45:32 +11:00
vfs_fat_finaliser.py.exp tests/extmod: Split out VfsFat finaliser tests to separate test file. 2019-12-27 12:30:51 +11:00
vfs_fat_ilistdir_del.py extmod/vfs: Add finaliser to ilistdir to close directory handle. 2022-09-13 13:00:42 +10:00
vfs_fat_ilistdir_del.py.exp extmod/vfs: Add finaliser to ilistdir to close directory handle. 2022-09-13 13:00:42 +10:00
vfs_fat_more.py tests: Use .errno instead of .args[0] for OSError exceptions. 2021-04-23 22:03:46 +10:00
vfs_fat_more.py.exp tests/extmod: Add test for importing a script from a user VFS. 2018-06-06 14:28:23 +10:00
vfs_fat_mtime.py tests/extmod: Add tests for verifying FAT and littlefs mtime values. 2020-09-02 00:19:38 +10:00
vfs_fat_mtime.py.exp tests/extmod: Add tests for verifying FAT and littlefs mtime values. 2020-09-02 00:19:38 +10:00
vfs_fat_oldproto.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
vfs_fat_oldproto.py.exp extmod/vfs_fat: Add file size as 4th element of uos.ilistdir tuple. 2018-03-12 12:26:36 +11:00
vfs_fat_ramdisk.py tests: Use .errno instead of .args[0] for OSError exceptions. 2021-04-23 22:03:46 +10:00
vfs_fat_ramdisk.py.exp tests/extmod: Add tests for verifying FAT and littlefs mtime values. 2020-09-02 00:19:38 +10:00
vfs_fat_ramdisklarge.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
vfs_fat_ramdisklarge.py.exp tests/extmod: Add test for FAT filesystem on a very large block device. 2019-03-27 10:22:38 +11:00
vfs_lfs_corrupt.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
vfs_lfs_corrupt.py.exp tests/extmod: Add littlefs tests. 2019-10-29 14:17:29 +11:00
vfs_lfs_error.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
vfs_lfs_error.py.exp tests/extmod: Add littlefs tests. 2019-10-29 14:17:29 +11:00
vfs_lfs_file.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
vfs_lfs_file.py.exp tests/extmod: Add littlefs tests. 2019-10-29 14:17:29 +11:00
vfs_lfs_ilistdir_del.py extmod/vfs: Add finaliser to ilistdir to close directory handle. 2022-09-13 13:00:42 +10:00
vfs_lfs_ilistdir_del.py.exp extmod/vfs: Add finaliser to ilistdir to close directory handle. 2022-09-13 13:00:42 +10:00
vfs_lfs_mount.py tests/extmod: Add test to try and mount a block device directly. 2020-12-17 22:43:19 +11:00
vfs_lfs_mount.py.exp tests/extmod: Change expected errno code from 36 to 30 in VfsLfs2 test. 2022-05-24 12:52:00 +10:00
vfs_lfs_mtime.py tests/extmod: Add tests for verifying FAT and littlefs mtime values. 2020-09-02 00:19:38 +10:00
vfs_lfs_mtime.py.exp tests/extmod: Add tests for verifying FAT and littlefs mtime values. 2020-09-02 00:19:38 +10:00
vfs_lfs_superblock.py extmod/vfs: Check block 0 and 1 when auto-detecting littlefs. 2021-01-29 15:02:55 +11:00
vfs_lfs_superblock.py.exp extmod/vfs: Check block 0 and 1 when auto-detecting littlefs. 2021-01-29 15:02:55 +11:00
vfs_lfs.py extmod/vfs_lfs: Add mtime support to littlefs files. 2020-08-25 17:35:19 +10:00
vfs_lfs.py.exp extmod/vfs_lfs: Add mtime support to littlefs files. 2020-08-25 17:35:19 +10:00
vfs_posix_ilistdir_del.py extmod/vfs: Add finaliser to ilistdir to close directory handle. 2022-09-13 13:00:42 +10:00
vfs_posix_ilistdir_del.py.exp extmod/vfs: Add finaliser to ilistdir to close directory handle. 2022-09-13 13:00:42 +10:00
vfs_posix.py extmod/vfs_posix_file: Implement finaliser for files. 2022-09-19 23:44:50 +10:00
vfs_posix.py.exp extmod/vfs_posix_file: Implement finaliser for files. 2022-09-19 23:44:50 +10:00
vfs_userfs.py all: Rename "sys" module to "usys". 2020-09-04 00:10:24 +10:00
vfs_userfs.py.exp extmod/vfs_reader: Fix mp_reader_new_file to open file in "rb" mode. 2020-08-12 23:40:50 +10:00
websocket_basic.py tests: Use .errno instead of .args[0] for OSError exceptions. 2021-04-23 22:03:46 +10:00
websocket_basic.py.exp tests/extmod: Rename websocket test to websocket_basic. 2017-03-10 15:05:08 +11:00