diff options
author | Lisa Roach <lisaroach14@gmail.com> | 2019-09-30 04:56:47 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-30 04:56:47 (GMT) |
commit | 3667e1ee6c90e6d3b6a745cd590ece87118f81ad (patch) | |
tree | d9802110a2f6ebbd181b904b05956a56d88c8c44 /Misc | |
parent | 5bcc6d89bcb622a6786fff632fabdcaf67dbb4e2 (diff) | |
download | cpython-3667e1ee6c90e6d3b6a745cd590ece87118f81ad.zip cpython-3667e1ee6c90e6d3b6a745cd590ece87118f81ad.tar.gz cpython-3667e1ee6c90e6d3b6a745cd590ece87118f81ad.tar.bz2 |
bpo-38163: Child mocks detect their type as sync or async (GH-16471)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2019-09-28-20-16-40.bpo-38163.x51-vK.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-09-28-20-16-40.bpo-38163.x51-vK.rst b/Misc/NEWS.d/next/Library/2019-09-28-20-16-40.bpo-38163.x51-vK.rst new file mode 100644 index 0000000..5f7db26 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2019-09-28-20-16-40.bpo-38163.x51-vK.rst @@ -0,0 +1,4 @@ +Child mocks will now detect their type as either synchronous or +asynchronous, asynchronous child mocks will be AsyncMocks and synchronous +child mocks will be either MagicMock or Mock (depending on their parent +type). |