diff options
author | Damien George <damien.p.george@gmail.com> | 2019-12-13 16:43:17 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-12-13 17:27:29 +1100 |
commit | 4b184d12819139fc51073248614111c45a5ac631 (patch) | |
tree | a9f94a55ac06d72bb1f6258d0db06aee05af13af /tests/pyb/halerror.py | |
parent | 7280bf40d9b43118cca87a7321c088e118a5ebc1 (diff) |
tests/pyb: Refactor pyboard tests to work on PYBv1, PYBLITEv1 and PYBD.
Diffstat (limited to 'tests/pyb/halerror.py')
-rw-r--r-- | tests/pyb/halerror.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/pyb/halerror.py b/tests/pyb/halerror.py deleted file mode 100644 index 1a6bce1a7..000000000 --- a/tests/pyb/halerror.py +++ /dev/null @@ -1,15 +0,0 @@ -# test hal errors - -import pyb - -i2c = pyb.I2C(2, pyb.I2C.MASTER) -try: - i2c.recv(1, 1) -except OSError as e: - print(repr(e)) - -can = pyb.CAN(1, pyb.CAN.NORMAL) -try: - can.send('1', 1, timeout=50) -except OSError as e: - print(repr(e)) |