-
Notifications
You must be signed in to change notification settings - Fork 159
handle case when no event loop exists (support pytest-aiohttp) #64
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
Conversation
@asvetlov, hi see conftest.py in my comment above How do you think, is it ok to run pytest-asyncio and pytest-aiohttp together in such manner? |
Yea! This is very usefull! |
Looks good at first glance |
The patch looks simple enough, I'd be willing to merge it in. But wouldn't a better course of action be to reach out to pytest-aiohttp and see if they would be willing to depend on pytest-asyncio, instead of merging in workarounds? |
Now it's |
test added (copy pasted from #65) |
+1 I'm hitting this problem as well. Would be happy to see this getting merged in. |
Alright, thanks for the contribution. My plea for pytest-asyncio and pytest-aiohttp to work better together still stands :) |
can we release minor version with this fix? |
I'll get it out over the weekend. |
Solves this:
And this:
Now pytest-asyncio and pytest-aiohttp can act together with this conftest.py: