diff options
Diffstat (limited to 'tests/micropython/heapalloc.py')
-rw-r--r-- | tests/micropython/heapalloc.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/micropython/heapalloc.py b/tests/micropython/heapalloc.py index e19f8d025..010bf878a 100644 --- a/tests/micropython/heapalloc.py +++ b/tests/micropython/heapalloc.py @@ -1,6 +1,10 @@ # check that we can do certain things without allocating heap memory -import micropython +try: + import micropython +except ImportError: + print("SKIP") + raise SystemExit # Check for stackless build, which can't call functions without # allocating a frame on heap. |