-
-
Notifications
You must be signed in to change notification settings - Fork 152
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
DeprecationWarning at aiofiles.os:8 #74
Comments
Agreed, could you create a quick PR? |
related #54 (! please note that it also changes return type of the wrapped func) |
Sure, give me 5' :) |
Done in #75 |
Woops, sorry I missed this. Both PRs clashes, so I guess we need to pick one. |
I saw that Travis failed in my PR so I checked out the project locally and saw that, at least for py3.8, tests are failing for what is mentioned in #54. With that patch all tests passed. |
Merged that one in! Can this issue now be closed? |
Sure do! I'm closing it. Thanks! |
Hi there! Pytest is correctly complaining about the use of
@coroutine
decorator at aiofiles.os line 8. This is for the current latest 0.5.0 version.aiofiles/aiofiles/os.py
Lines 7 to 16 in 258e956
The fix would be to use
async def
directly:The text was updated successfully, but these errors were encountered: