bpo-46358: modernize `test_asyncio` (GH-30562)

3 files changed