Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bpo-38108: Makes mock objects inherit from Base (GH-16060)
Backports: 9a7d9519506ae807ca48ff02e2ea117ebac3450e Signed-off-by: Chris Withers <chris@withers.org>
- Loading branch information
Showing
4 changed files
with
59 additions
and
57 deletions.
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,2 @@ | ||
Any synchronous magic methods on an AsyncMock now return a MagicMock. Any | ||
asynchronous magic methods on a MagicMock now return an AsyncMock. |
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
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