mirror of
https://github.com/micropython/micropython.git
synced 2025-12-13 08:20:13 +01:00
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:
committed by
Damien George
parent
84061266ec
commit
c25667f6a9
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user