-
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
Integrating with Python 3.8 #144
Comments
@Kentzo would be nice state explicitly what "our cause" is :) |
Full spectrum of features offered by asynctest of course :) |
Hi, I discussed with Lisa Roach who contributed this to cPython. AsyncMock is actually borrowing code from CoroutineMock, which is great but makes it hard to make asynctest compatible with Python 3.8. I'd be super happy to push more features from asynctest directly into cPython, in particular, an AsyncTestCase would probably be a nice addition. I have yet to look in depth at what features have been introduced in unittest by AsyncMock and where it diverges from asynctest. Ideally, more and more features would be introduced in unittest, making asynctest progressively irrelevant and deprecated. I've been slowly drafting a doc summarizing the changes I'd like to make to support Python 3.8: |
I have authored python/cpython#17133 yesterday which is essentially |
Re:
I, for one, mix and match |
+1 on
|
Re: |
asynctest doesn't work with Python 3.8+, but AsyncMock() and few other parts are available in the standard library already. See Martiusweb/asynctest#144 and Martiusweb/asynctest#126
asynctest doesn't work with Python 3.8+, but AsyncMock() and few other parts are available in the standard library already. See Martiusweb/asynctest#144 and Martiusweb/asynctest#126
asynctest doesn't work with Python 3.8+, but AsyncMock() and few other parts are available in the standard library already. See Martiusweb/asynctest#144 and Martiusweb/asynctest#126 (cherry picked from commit 1a2ce72)
CPython accepted a commit that basically copies subset of asynctest into the standard library.
Should we champion our cause there?
Pros:
The text was updated successfully, but these errors were encountered: