summaryrefslogtreecommitdiff
path: root/tests/pyb/uart.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2019-12-13 16:43:17 +1100
committerDamien George <damien.p.george@gmail.com>2019-12-13 17:27:29 +1100
commit4b184d12819139fc51073248614111c45a5ac631 (patch)
treea9f94a55ac06d72bb1f6258d0db06aee05af13af /tests/pyb/uart.py
parent7280bf40d9b43118cca87a7321c088e118a5ebc1 (diff)
tests/pyb: Refactor pyboard tests to work on PYBv1, PYBLITEv1 and PYBD.
Diffstat (limited to 'tests/pyb/uart.py')
-rw-r--r--tests/pyb/uart.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/pyb/uart.py b/tests/pyb/uart.py
index 836b073a6..82a66dd2e 100644
--- a/tests/pyb/uart.py
+++ b/tests/pyb/uart.py
@@ -1,7 +1,7 @@
from pyb import UART
-# test we can correctly create by id or name
-for bus in (-1, 0, 1, 2, 3, 4, 5, 6, 7, "XA", "XB", "YA", "YB", "Z"):
+# test we can correctly create by id
+for bus in (-1, 0, 1, 2, 5, 6, 7):
try:
UART(bus, 9600)
print("UART", bus)