summaryrefslogtreecommitdiff
path: root/tests/micropython/heapalloc_bytesio.py
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-03-09 10:26:31 +0100
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-03-09 10:26:31 +0100
commit1a71d30fb8fad17ea44de635d52e858f066ef308 (patch)
tree731c52d03e90e33ed4ce91a50c917631abacf286 /tests/micropython/heapalloc_bytesio.py
parente8d4527996261f69e0d6898f963f0be9647cdbf4 (diff)
tests/micropython: Make uio-using tests skippable.
Diffstat (limited to 'tests/micropython/heapalloc_bytesio.py')
-rw-r--r--tests/micropython/heapalloc_bytesio.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/micropython/heapalloc_bytesio.py b/tests/micropython/heapalloc_bytesio.py
index 311632851..2a8d50abe 100644
--- a/tests/micropython/heapalloc_bytesio.py
+++ b/tests/micropython/heapalloc_bytesio.py
@@ -1,4 +1,10 @@
-import uio
+try:
+ import uio
+except ImportError:
+ import sys
+ print("SKIP")
+ sys.exit()
+
import micropython
data = b"1234" * 16