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