tests/basics/builtin_help.py: Test correct handling of deleted entries.

This test reproduces the bug that gave rise to the esp32 segfaults in
issues #18061 and #18481 on all platforms.

Signed-off-by: Anson Mansfield <amansfield@mantaro.com>
This commit is contained in:
Anson Mansfield
2025-12-05 15:25:23 -05:00
committed by Damien George
parent 84061266ec
commit c25667f6a9

View File

@@ -14,4 +14,10 @@ import micropython
help(micropython) # help for a module
help('modules') # list available modules
class A:
x = 1
y = 2
del x
help(A)
print('done') # so last bit of output is predictable