summaryrefslogtreecommitdiffstatshomepage
path: root/tests/micropython/heapalloc.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/micropython/heapalloc.py')
-rw-r--r--tests/micropython/heapalloc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/micropython/heapalloc.py b/tests/micropython/heapalloc.py
index a651158ca5..62f26df6af 100644
--- a/tests/micropython/heapalloc.py
+++ b/tests/micropython/heapalloc.py
@@ -18,7 +18,7 @@ def f3(a, b, c, d):
global_var = 1
def test():
- global global_var
+ global global_var, global_exc
global_var = 2 # set an existing global variable
for i in range(2): # for loop
f1(i) # function call