mirror of
https://github.com/micropython/micropython.git
synced 2026-01-08 13:10:21 +01:00
tests/micropython: Make uio-using tests skippable.
This commit is contained in:
@@ -2,7 +2,12 @@
|
||||
|
||||
import micropython
|
||||
import sys
|
||||
import uio
|
||||
try:
|
||||
import uio
|
||||
except ImportError:
|
||||
import sys
|
||||
print("SKIP")
|
||||
sys.exit()
|
||||
|
||||
# preallocate exception instance with some room for a traceback
|
||||
global_exc = StopIteration()
|
||||
|
||||
Reference in New Issue
Block a user