-
Notifications
You must be signed in to change notification settings - Fork 41
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
Current status of the asynctest
#158
Comments
Longer term, we may need to use a different framework to test this, it's unclear to me if asynctest is continuing to see updates: Martiusweb/asynctest#158
Longer term, we may need to use a different framework to test this, it's unclear to me if asynctest is continuing to see updates: Martiusweb/asynctest#158
ping @Martiusweb ; it would be good to get clarification whether this testing library is going to be maintained going forward, or projects should migrate to stdlib or other testing tools. |
I'm working on porting asynctest to stdlib, but there seems to be lack of demand. Please consider upvoting / commenting python/cpython#20759 |
Hi, First of all, sorry for the very late reply. To keep things short: I'll not work on asynctest anymore, and I believe unittest.mock.AsyncMock in combination with pytest is probably your best bet for now. I'm sorry that I can't provide a better answer, and that I've abandoned this library. |
Thanks for the clarification. We can understand. Keep up the good work ! |
For what it's worth, asynctest apparently supports use cases that AsyncMock does not: https://stackoverflow.com/questions/53508368/python-unit-testing-nested-async-with-how-to-mock-patch |
This library is no longer supported (doesn't build with Python 3.9; see Martiusweb/asynctest#158). * gnu/packages/python-xyz.scm (python-aionotify): Delete variable.
This library is no longer supported (doesn't build with Python 3.9; see Martiusweb/asynctest#158). * gnu/packages/python-xyz.scm (python-aionotify): Delete variable.
Martiusweb/asynctest#158 git-svn-id: file:///srv/repos/svn-community/svn@1443126 9fca08f4-af9d-4005-b8df-a31f2cc04f65
Martiusweb/asynctest#158 git-svn-id: file:///srv/repos/svn-community/svn@1443126 9fca08f4-af9d-4005-b8df-a31f2cc04f65
The author has mentioned that they no longer work on the library. Martiusweb/asynctest#158 (comment) Since we have other tests in place now that exercise asyncio-style tests, we can remove this test and dependency. Resolves #161 Signed-off-by: Mike Fiedler <miketheman@gmail.com>
First of all, I would like to thanks author and contributors for this cool library.
We are using it heavily in our codebase. Currently, we are in the middle of upgrading our source to
python3.8/3.9
and many of our existing test-cases are failing. It looks likeasynctest
is yet to supportpython3.8/3.9
(Ref #144, #151, #132).I can see
py3.8
branch with last commit (andmaster
too) long back. So, I would like to know the status and the roadmap of project. As mentioned in, beiniu/brother#18 , isunittest.mock.AsyncMock
official recommendation ?Thanks again.
The text was updated successfully, but these errors were encountered: