summaryrefslogtreecommitdiff
path: root/tests/basics/nanbox_smallint.py
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2022-05-23 10:57:42 +1000
committerDamien George <damien@micropython.org>2022-05-23 15:45:16 +1000
commita8492253c126be9bef69110c6a6862872868dfbc (patch)
treed80463e0329f94d428e010cf22a838757d737bc4 /tests/basics/nanbox_smallint.py
parentd4d53e9e114d779523e382c4ea38f0398e880aae (diff)
tests/basics: Unlock heap if skipping nanbox small-int test.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'tests/basics/nanbox_smallint.py')
-rw-r--r--tests/basics/nanbox_smallint.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/basics/nanbox_smallint.py b/tests/basics/nanbox_smallint.py
index 642ca77b3..167b19601 100644
--- a/tests/basics/nanbox_smallint.py
+++ b/tests/basics/nanbox_smallint.py
@@ -9,6 +9,7 @@ try:
float(123)
micropython.heap_unlock()
except:
+ micropython.heap_unlock()
print("SKIP")
raise SystemExit