summaryrefslogtreecommitdiff
path: root/tests/micropython/stack_use.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/micropython/stack_use.py')
-rw-r--r--tests/micropython/stack_use.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/micropython/stack_use.py b/tests/micropython/stack_use.py
new file mode 100644
index 000000000..bc714755a
--- /dev/null
+++ b/tests/micropython/stack_use.py
@@ -0,0 +1,7 @@
+# tests stack_use function in micropython module
+import micropython
+
+if not hasattr(micropython, 'stack_use'):
+ print('SKIP')
+else:
+ print(type(micropython.stack_use())) # output varies