diff options
Diffstat (limited to 'tests/micropython/ringio.py')
-rw-r--r-- | tests/micropython/ringio.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/micropython/ringio.py b/tests/micropython/ringio.py index 410928879..d82c04565 100644 --- a/tests/micropython/ringio.py +++ b/tests/micropython/ringio.py @@ -1,10 +1,10 @@ # Check that micropython.RingIO works correctly. -import micropython - try: + import micropython + micropython.RingIO -except AttributeError: +except (ImportError, AttributeError): print("SKIP") raise SystemExit |