Closed HacKanCuBa closed 4 years ago
Agreed, could you create a quick PR?
Agreed, could you create a quick PR?
related #54 (! please note that it also changes return type of the wrapped func)
Agreed, could you create a quick PR?
Sure, give me 5' :)
Done in #75
Agreed, could you create a quick PR?
related #54 (! please note that it also changes return type of the wrapped func)
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. So, all in all, I think we need to go for #54, which is more complete and fixes other issue, instead of my patch.
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.https://github.com/Tinche/aiofiles/blob/258e95640d6242c53a1c0d84e68343d79d80d781/aiofiles/os.py#L7-L16
The fix would be to use
async def
directly: