bpo-38107: Replace direct future and task contructor calls with factories in asyncio tests (GH-15928)

(cherry picked from commit 9aee90018a5213e3529768e0b873955d23f5e50b)

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