From ed7ddd4dd436fb84e602fee4dbdc4882eca642ab Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 29 Oct 2020 17:36:04 +1100 Subject: [PATCH] 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 --- tests/micropython/extreme_exc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/micropython/extreme_exc.py b/tests/micropython/extreme_exc.py index dae5b1518..9d2f24745 100644 --- a/tests/micropython/extreme_exc.py +++ b/tests/micropython/extreme_exc.py @@ -126,7 +126,7 @@ def main(): ) except Exception as er: e = er - lst[0] = None + lst[0][0] = None lst = None print(repr(e)[:10])