From 1a71d30fb8fad17ea44de635d52e858f066ef308 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Thu, 9 Mar 2017 10:26:31 +0100 Subject: tests/micropython: Make uio-using tests skippable. --- tests/micropython/heapalloc_bytesio.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'tests/micropython/heapalloc_bytesio.py') 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 -- cgit v1.2.3