diff options
author | Damien George <damien@micropython.org> | 2020-10-29 17:36:04 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2020-10-29 23:35:36 +1100 |
commit | ed7ddd4dd436fb84e602fee4dbdc4882eca642ab (patch) | |
tree | a74fae28fa16ff3b28575ff5a9e332d1af80eb87 /tests/micropython/extreme_exc.py | |
parent | 97960dc7deb7a0e691fca5944402cd03386b744b (diff) |
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>
Diffstat (limited to 'tests/micropython/extreme_exc.py')
-rw-r--r-- | tests/micropython/extreme_exc.py | 2 |
1 files changed, 1 insertions, 1 deletions
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]) |