bpo-47104: Rewrite asyncio.to_thread tests to use IsolatedAsyncioTestCase (GH-32086)

(cherry picked from commit ff619c7dfe8dcb0e4c8dc655abc3acc7dc586d0d)

Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
2 files changed