Skip to content

Commit eae819c

Browse files
flowergrassdpgeorge
authored andcommitted
tests/micropython: Add test for micropython.stack_use() function.
1 parent e81116d commit eae819c

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

tests/micropython/stack_use.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# tests stack_use function in micropython module
2+
import micropython
3+
4+
if not hasattr(micropython, 'stack_use'):
5+
print('SKIP')
6+
else:
7+
print(type(micropython.stack_use())) # output varies

tests/micropython/stack_use.py.exp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<class 'int'>

0 commit comments

Comments
 (0)