diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-11-14 00:27:35 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-11-14 00:27:35 +0300 |
commit | 8212773adb69309639833395bae8df487bd15c66 (patch) | |
tree | 71066fbe13951bf14b117471168adc75a86885bc /tests/wipy/uart.py | |
parent | 00a9590e3a27c8784a9d3a95c669142aad4a025f (diff) | |
download | micropython-8212773adb69309639833395bae8df487bd15c66.tar.gz micropython-8212773adb69309639833395bae8df487bd15c66.zip |
tests: Use read() instead of readall().
Diffstat (limited to 'tests/wipy/uart.py')
-rw-r--r-- | tests/wipy/uart.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/wipy/uart.py b/tests/wipy/uart.py index 5a5221e557..a3a1c14e88 100644 --- a/tests/wipy/uart.py +++ b/tests/wipy/uart.py @@ -72,7 +72,7 @@ print(uart1.readline() == b'1234567890') print(uart1.any() == 0) uart0.write(b'1234567890') -print(uart1.readall() == b'1234567890') +print(uart1.read() == b'1234567890') # tx only mode uart0 = UART(0, 1000000, pins=('GP12', None)) |