-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AioHTTPTestCase doesn't work with uvloop #2491
Comments
Reported to uvloop team. |
uvloop doesn't need watchers, it won't be able to use them at all. We can just implement an empty |
Please do. |
It won't happen right away, so for now I suggest you to just ignore |
Makes sense. |
Fixed by 2445993 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a [new issue] for related bugs. |
I can't tell whether this is a shortcoming of
uvloop
or a bug ofaiohttp
, but here it goes:8e76a4a added this statement:
The problem is that
uvloop
's event policy subclassesasyncio.AbstractEventLoop
, which doesn't implementset_child_watcher()
(it raisesNotImplementedError
). Maybe it should subclassDefaultEventLoopPolicy
, but I don't really know. In any case, attempting to run anyAioHTTPTestCase
withuvloop
results in aNotImplementedError
.aiohttp
2.2 apparently doesn't have this problem.The text was updated successfully, but these errors were encountered: