summaryrefslogtreecommitdiff
path: root/tests/micropython/stack_use.py
diff options
context:
space:
mode:
authorRami Ali <flowergrass@users.noreply.github.com>2016-12-28 17:29:52 +1100
committerDamien George <damien.p.george@gmail.com>2016-12-28 17:46:52 +1100
commiteae819c0ed1cdfba33820e06292fab348ec4756d (patch)
treec40139d8375f8bdd85142b673a4a75bb6ee38980 /tests/micropython/stack_use.py
parente81116d07d3fed43f77f81bd5e20800d9d798f5f (diff)
tests/micropython: Add test for micropython.stack_use() function.
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