-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
bpo-26467: Adds AsyncMock for asyncio Mock library support #9296
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
4353041
Initial commmit adding asyncio mock support.
lisroach b83e5a5
Adding async support to the mock library.
lisroach a9ea983
Removes superfluous changes.
lisroach 50581e3
Cleans up comments.
lisroach 96ddb0e
Fixes inspect and attribute error issues.
lisroach a4d4dbc
Fixes test_unittest changing env because of version issue.
lisroach bfdd5a7
Removes newlines from inspect.
lisroach ed7f13c
Removes unneeded comment and newlines.
lisroach 34fa74e
Fixes async tests. Removes inspect fix.
lisroach 302ef64
Fixes environment test issue.
lisroach bf749ac
Adds argument tests.
lisroach 30b64b5
Adding the side_effect exception test.
lisroach 5edac2a
Changes CoroutineMock to AsyncMock. Removes old-style coroutine refer…
lisroach fa978cc
Merge branch 'master' into asyncio_mock
lisroach 24920a6
Changes fnmatch to list comp.
lisroach aec3153
Fixes import and a rebase.
lisroach 45dddb7
Merge branch 'master' of https://github.com/python/cpython into async…
lisroach c0a88a9
Updates news with AsyncMock name change.
lisroach f9bee6e
Removes extraneous comments.
lisroach 81ad0d1
Fixes RunTime warnings and missing io import.
lisroach c260104
Changes check to use issubclass instead of !=.
lisroach ae13db1
Adds AsyncMock docs and tests for iterators and context managers.
lisroach 68dff1b
Uncomments commented out test.
lisroach 64301e2
Fixes based on comments.
lisroach c7cd95e
Fixes broken docs.
lisroach 033f7d3
Fixes broken doc await_arg.
lisroach 2fef02c
Adds shoutout to Martin Richard for asynctest.
lisroach File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Merge branch 'master' into asyncio_mock
- Loading branch information
commit fa978ccda67b1b040b2b9b1d2919a20a9531fb1b
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You are viewing a condensed version of this merge commit. You can view the full changes here.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.