mirror of
https://github.com/micropython/micropython.git
synced 2026-01-10 14:07:14 +01:00
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:
@@ -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])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user