Permalink
Browse files

tests/micropython: Add test for micropython.stack_use() function.

  • Loading branch information...
1 parent e81116d commit eae819c0ed1cdfba33820e06292fab348ec4756d @flowergrass flowergrass committed with dpgeorge Dec 28, 2016
Showing with 8 additions and 0 deletions.
  1. +7 −0 tests/micropython/stack_use.py
  2. +1 −0 tests/micropython/stack_use.py.exp
@@ -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
@@ -0,0 +1 @@
+<class 'int'>

0 comments on commit eae819c

Please sign in to comment.