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

This commit is contained in:
Rami Ali 2016-12-28 17:29:52 +11:00 committed by Damien George
parent e81116d07d
commit eae819c0ed
2 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -0,0 +1 @@
<class 'int'>