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>
This commit is contained in:
Damien George 2020-10-29 17:36:04 +11:00
parent 97960dc7de
commit ed7ddd4dd4
1 changed files with 1 additions and 1 deletions

View File

@ -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])