Files
micropython/tests/basics/weakref_callback_exception.py.native.exp
T
Damien George 2cca3481f2 tests/basics: Add test for weakref having exception in callback.
Needs a native exp file because native code doesn't print line numbers in
the traceback.

Signed-off-by: Damien George <damien@micropython.org>
2026-03-22 23:06:05 +11:00

9 lines
273 B
Plaintext

test ref with exception in the callback
Unhandled exception in weakref callback:
ValueError: ('weakref callback', (<ref>,))
collect done
test finalize with exception in the callback
Unhandled exception in weakref callback:
ValueError: ('weakref callback', ())
collect done