diff options
Diffstat (limited to 'tests/micropython/schedule.py')
-rw-r--r-- | tests/micropython/schedule.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/micropython/schedule.py b/tests/micropython/schedule.py index 6a91459ea..f3dd32661 100644 --- a/tests/micropython/schedule.py +++ b/tests/micropython/schedule.py @@ -1,10 +1,10 @@ # test micropython.schedule() function -import micropython - try: + import micropython + micropython.schedule -except AttributeError: +except (ImportError, AttributeError): print("SKIP") raise SystemExit |