bpo-32636: Fix two bugs in test_asyncio (#5302)

2 files changed