957a8a287c
The regression test swaps in a torn-down default executor but never restores the pristine one, leaking the poisoned executor to anything sharing the loop. Save/restore via the private slot because set_default_executor() rejects None, which is exactly the pristine (lazy-creation) state. Also apply ruff format to the file.