summaryrefslogtreecommitdiff
path: root/tests/pyb/uart.py
diff options
context:
space:
mode:
authorJeff Epler <jeff@adafruit.com>2021-03-15 13:50:49 -0500
committerGitHub <noreply@github.com>2021-03-15 13:50:49 -0500
commit05ed179e11599dd45a76dfb14ecf624d0ff96d68 (patch)
treea046c6d1f117814168150484ed1bf7840d3400d7 /tests/pyb/uart.py
parent3cbff45f9aac5ea2855bbc888083d356a91c80fe (diff)
parentf9b4189b4c640823dabb76de8effd2a836da2eb0 (diff)
Merge pull request #4362 from microDev1/code-formatting
Add code formatting and translations check
Diffstat (limited to 'tests/pyb/uart.py')
-rw-r--r--tests/pyb/uart.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/pyb/uart.py b/tests/pyb/uart.py
index 838dd9cfc..afa7b8b34 100644
--- a/tests/pyb/uart.py
+++ b/tests/pyb/uart.py
@@ -17,8 +17,8 @@ uart.init(2400)
print(uart)
print(uart.any())
-print(uart.write('123'))
-print(uart.write(b'abcd'))
+print(uart.write("123"))
+print(uart.write(b"abcd"))
print(uart.writechar(1))
# make sure this method exists
@@ -26,7 +26,7 @@ uart.sendbreak()
# non-blocking mode
uart = UART(1, 9600, timeout=0)
-print(uart.write(b'1'))
-print(uart.write(b'abcd'))
+print(uart.write(b"1"))
+print(uart.write(b"abcd"))
print(uart.writechar(1))
print(uart.read(100))