diff options
Diffstat (limited to 'tests/micropython/emg_exc.py')
-rw-r--r-- | tests/micropython/emg_exc.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/micropython/emg_exc.py b/tests/micropython/emg_exc.py index 4a9fa18bc..bca4d2d9f 100644 --- a/tests/micropython/emg_exc.py +++ b/tests/micropython/emg_exc.py @@ -2,6 +2,7 @@ import micropython import sys + try: import uio except ImportError: @@ -14,6 +15,7 @@ try: except AttributeError: pass + def f(): micropython.heap_lock() try: @@ -31,4 +33,5 @@ def f(): else: print(l) + f() |