summaryrefslogtreecommitdiff
path: root/tests/pyb/uart.py
diff options
context:
space:
mode:
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)