micropython/tests/extmod
Ned Konz 5543b2a9cc extmod/uasyncio: Add clear method to ThreadSafeFlag.
This is useful in situations where the ThreadSafeFlag is reused and needs
to be cleared of any previous, unwanted event.

For example, clear the flag at the start of an operation, trigger the
operation (eg an I2C write), then (a)wait for an external event to set the
flag (eg a pin IRQ).  Further events may trigger the flag again but these
are unwanted and should be cleared before the next cycle starts.
2022-08-12 17:06:28 +10:00
..
btree1.py
btree1.py.exp
btree_error.py
btree_error.py.exp
btree_gc.py
btree_gc.py.exp
framebuf1.py
framebuf1.py.exp
framebuf2.py
framebuf2.py.exp
framebuf4.py
framebuf4.py.exp
framebuf8.py
framebuf8.py.exp
framebuf16.py
framebuf16.py.exp
framebuf_palette.py
framebuf_palette.py.exp
framebuf_subclass.py
framebuf_subclass.py.exp
machine1.py
machine1.py.exp
machine_i2s_rate.py
machine_i2s_rate.py.exp
machine_pinbase.py
machine_pinbase.py.exp
machine_pulse.py
machine_pulse.py.exp
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
machine_timer.py
machine_timer.py.exp
ticks_diff.py
ticks_diff.py.exp
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
uasyncio_await_return.py
uasyncio_await_return.py.exp
uasyncio_basic.py
uasyncio_basic.py.exp tests/extmod: Increase timing on uasyncio tests to make more reliable. 2022-05-03 22:53:12 +10:00
uasyncio_basic2.py
uasyncio_basic2.py.exp
uasyncio_cancel_fair.py
uasyncio_cancel_fair.py.exp
uasyncio_cancel_fair2.py
uasyncio_cancel_fair2.py.exp
uasyncio_cancel_self.py
uasyncio_cancel_self.py.exp
uasyncio_cancel_task.py
uasyncio_cancel_task.py.exp
uasyncio_cancel_wait_on_finished.py
uasyncio_cancel_wait_on_finished.py.exp
uasyncio_current_task.py
uasyncio_current_task.py.exp
uasyncio_event.py
uasyncio_event.py.exp
uasyncio_event_fair.py
uasyncio_event_fair.py.exp
uasyncio_exception.py
uasyncio_exception.py.exp
uasyncio_fair.py
uasyncio_fair.py.exp
uasyncio_gather.py
uasyncio_gather.py.exp
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
uasyncio_get_event_loop.py
uasyncio_heaplock.py
uasyncio_heaplock.py.exp
uasyncio_lock.py tests/extmod: Add uasyncio tests. 2020-03-26 01:25:45 +11:00
uasyncio_lock.py.exp
uasyncio_lock_cancel.py
uasyncio_lock_cancel.py.exp
uasyncio_loop_stop.py
uasyncio_loop_stop.py.exp
uasyncio_micropython.py
uasyncio_micropython.py.exp
uasyncio_new_event_loop.py
uasyncio_new_event_loop.py.exp
uasyncio_set_exception_handler.py
uasyncio_set_exception_handler.py.exp
uasyncio_task_done.py
uasyncio_task_done.py.exp
uasyncio_threadsafeflag.py
uasyncio_threadsafeflag.py.exp
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_for_fwd.py
uasyncio_wait_for_fwd.py.exp
uasyncio_wait_task.py
uasyncio_wait_task.py.exp
ubinascii_a2b_base64.py
ubinascii_b2a_base64.py
ubinascii_crc32.py
ubinascii_hexlify.py
ubinascii_unhexlify.py
ucryptolib_aes128_cbc.py
ucryptolib_aes128_cbc.py.exp
ucryptolib_aes128_ctr.py
ucryptolib_aes128_ctr.py.exp
ucryptolib_aes128_ecb.py
ucryptolib_aes128_ecb.py.exp
ucryptolib_aes128_ecb_enc.py
ucryptolib_aes128_ecb_enc.py.exp
ucryptolib_aes128_ecb_inpl.py
ucryptolib_aes128_ecb_inpl.py.exp
ucryptolib_aes128_ecb_into.py
ucryptolib_aes128_ecb_into.py.exp
ucryptolib_aes256_cbc.py
ucryptolib_aes256_cbc.py.exp
ucryptolib_aes256_ecb.py
ucryptolib_aes256_ecb.py.exp
uctypes_32bit_intbig.py
uctypes_32bit_intbig.py.exp
uctypes_array_assign_le.py
uctypes_array_assign_le.py.exp
uctypes_array_assign_native_le.py
uctypes_array_assign_native_le.py.exp
uctypes_array_assign_native_le_intbig.py
uctypes_array_assign_native_le_intbig.py.exp
uctypes_array_load_store.py
uctypes_array_load_store.py.exp
uctypes_bytearray.py
uctypes_bytearray.py.exp
uctypes_byteat.py
uctypes_byteat.py.exp
uctypes_error.py
uctypes_error.py.exp
uctypes_le.py
uctypes_le.py.exp
uctypes_le_float.py
uctypes_le_float.py.exp
uctypes_native_float.py
uctypes_native_float.py.exp
uctypes_native_le.py
uctypes_native_le.py.exp
uctypes_print.py
uctypes_print.py.exp
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
uctypes_ptr_native_le.py.exp
uctypes_sizeof.py
uctypes_sizeof.py.exp
uctypes_sizeof_float.py
uctypes_sizeof_float.py.exp
uctypes_sizeof_layout.py
uctypes_sizeof_layout.py.exp
uctypes_sizeof_native.py
uctypes_sizeof_native.py.exp
uctypes_sizeof_od.py
uctypes_sizeof_od.py.exp
uhashlib_final.py
uhashlib_final.py.exp
uhashlib_md5.py
uhashlib_sha1.py
uhashlib_sha256.py
uheapq1.py
ujson_dump.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
ujson_dump_separators.py
ujson_dumps.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
ujson_dumps_extra.py.exp
ujson_dumps_float.py
ujson_dumps_ordereddict.py
ujson_dumps_separators.py
ujson_load.py
ujson_loads.py
ujson_loads_bytes.py
ujson_loads_bytes.py.exp
ujson_loads_float.py
urandom_basic.py
urandom_basic.py.exp
urandom_extra.py
urandom_extra_float.py
urandom_seed_default.py
ure1.py
ure_debug.py
ure_debug.py.exp
ure_error.py
ure_group.py
ure_groups.py
ure_limit.py
ure_limit.py.exp
ure_namedclass.py
ure_span.py
ure_split.py
ure_split_empty.py
ure_split_empty.py.exp
ure_split_notimpl.py
ure_split_notimpl.py.exp
ure_stack_overflow.py
ure_stack_overflow.py.exp
ure_sub.py
ure_sub_unmatched.py
ure_sub_unmatched.py.exp
uselect_poll_basic.py
uselect_poll_udp.py
usocket_tcp_basic.py
usocket_udp_nonblock.py
ussl_basic.py
ussl_basic.py.exp
ussl_keycert.py
ussl_keycert.py.exp
utime_res.py
utime_res.py.exp
utime_time_ns.py
utime_time_ns.py.exp
utimeq1.py
utimeq1.py.exp
utimeq_stable.py
utimeq_stable.py.exp
uzlib_decompio.py
uzlib_decompio.py.exp
uzlib_decompio_gz.py
uzlib_decompio_gz.py.exp
uzlib_decompress.py
vfs_basic.py
vfs_basic.py.exp
vfs_blockdev.py
vfs_blockdev.py.exp
vfs_fat_fileio1.py
vfs_fat_fileio1.py.exp
vfs_fat_fileio2.py
vfs_fat_fileio2.py.exp
vfs_fat_finaliser.py
vfs_fat_finaliser.py.exp
vfs_fat_more.py
vfs_fat_more.py.exp
vfs_fat_mtime.py
vfs_fat_mtime.py.exp
vfs_fat_oldproto.py
vfs_fat_oldproto.py.exp
vfs_fat_ramdisk.py
vfs_fat_ramdisk.py.exp
vfs_fat_ramdisklarge.py
vfs_fat_ramdisklarge.py.exp
vfs_lfs.py
vfs_lfs.py.exp
vfs_lfs_corrupt.py
vfs_lfs_corrupt.py.exp
vfs_lfs_error.py
vfs_lfs_error.py.exp
vfs_lfs_file.py
vfs_lfs_file.py.exp
vfs_lfs_mount.py
vfs_lfs_mount.py.exp
vfs_lfs_mtime.py
vfs_lfs_mtime.py.exp
vfs_lfs_superblock.py
vfs_lfs_superblock.py.exp
vfs_posix.py
vfs_posix.py.exp
vfs_userfs.py
vfs_userfs.py.exp
websocket_basic.py
websocket_basic.py.exp