-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bpo-39915: Ensure await_args_list is updated according to the order i…
…n which coroutines were awaited (GH-18924) Create call objects with awaited arguments instead of using call_args which has only last call value. Backports: e553f204bf0e39b1d701a364bc71b286acb9433f Signed-off-by: Chris Withers <chris@simplistix.co.uk>
- Loading branch information
Showing
3 changed files
with
16 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Ensure :attr:`unittest.mock.AsyncMock.await_args_list` has call objects in | ||
the order of awaited arguments instead of using | ||
:attr:`unittest.mock.Mock.call_args` which has the last value of the call. | ||
Patch by Karthikeyan Singaravelan. |
This file contains 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 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