Browse Source

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

pull/1704/merge
Rami Ali 8 years ago
committed by Damien George
parent
commit
eae819c0ed
  1. 7
      tests/micropython/stack_use.py
  2. 1
      tests/micropython/stack_use.py.exp

7
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

1
tests/micropython/stack_use.py.exp

@ -0,0 +1 @@
<class 'int'>
Loading…
Cancel
Save