From eae819c0ed1cdfba33820e06292fab348ec4756d Mon Sep 17 00:00:00 2001 From: Rami Ali Date: Wed, 28 Dec 2016 17:29:52 +1100 Subject: [PATCH] tests/micropython: Add test for micropython.stack_use() function. --- tests/micropython/stack_use.py | 7 +++++++ tests/micropython/stack_use.py.exp | 1 + 2 files changed, 8 insertions(+) create mode 100644 tests/micropython/stack_use.py create mode 100644 tests/micropython/stack_use.py.exp diff --git a/tests/micropython/stack_use.py b/tests/micropython/stack_use.py new file mode 100644 index 0000000000..bc714755a1 --- /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 diff --git a/tests/micropython/stack_use.py.exp b/tests/micropython/stack_use.py.exp new file mode 100644 index 0000000000..fe37ceaa16 --- /dev/null +++ b/tests/micropython/stack_use.py.exp @@ -0,0 +1 @@ +