Closed
Description
I can't tell whether this is a shortcoming of uvloop or a bug of aiohttp, but here it goes:
8e76a4a added this statement:
policy.set_child_watcher(watcher)
The problem is that uvloop's event policy subclasses asyncio.AbstractEventLoop, which doesn't implement set_child_watcher() (it raises NotImplementedError). Maybe it should subclass DefaultEventLoopPolicy, but I don't really know. In any case, attempting to run any AioHTTPTestCase with uvloop results in a NotImplementedError.
aiohttp 2.2 apparently doesn't have this problem.