circuitpython/tests/multi_net/uasyncio_tcp_readinto.py.exp
Mike Teachman b0b8ebc4f6 extmod/uasyncio: Add readinto() method to Stream class.
With docs and a multi-test using TCP server/client.

This method is a MicroPython extension, although there is discussion of
adding it to CPython: https://bugs.python.org/issue41305

Signed-off-by: Mike Teachman <mike.teachman@gmail.com>
2021-06-15 13:13:35 +10:00

12 lines
120 B
Plaintext

--- instance0 ---
server running
close
done
--- instance1 ---
2
bytearray(b'ab')
1
array('b', [99])
TypeError
TypeError