Skip to content

Commit ed7ddd4

Browse files
committed
tests/micropython/extreme_exc.py: Unlink alloc'd lists earlier in chain.
To help the GC collect this memory that's no longer needed after the test. Signed-off-by: Damien George <damien@micropython.org>
1 parent 97960dc commit ed7ddd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/micropython/extreme_exc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def f():
126126
)
127127
except Exception as er:
128128
e = er
129-
lst[0] = None
129+
lst[0][0] = None
130130
lst = None
131131
print(repr(e)[:10])
132132

0 commit comments

Comments
 (0)