diff options
author | Lisa Roach <lisaroach14@gmail.com> | 2019-09-24 03:49:40 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-24 03:49:40 (GMT) |
commit | ef048517755db1f0d211fb6dfc655a8b412cc96f (patch) | |
tree | 20c1dd5ef9c6dbcd529122ed378878954df63ebd /Misc | |
parent | 6f53d34fb0f944a8c0ee530334c353559ac40f72 (diff) | |
download | cpython-ef048517755db1f0d211fb6dfc655a8b412cc96f.zip cpython-ef048517755db1f0d211fb6dfc655a8b412cc96f.tar.gz cpython-ef048517755db1f0d211fb6dfc655a8b412cc96f.tar.bz2 |
bpo-38136: Updates await_count and call_count to be different things (GH-16192)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2019-09-16-09-54-42.bpo-38136.MdI-Zb.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-09-16-09-54-42.bpo-38136.MdI-Zb.rst b/Misc/NEWS.d/next/Library/2019-09-16-09-54-42.bpo-38136.MdI-Zb.rst new file mode 100644 index 0000000..78cad24 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2019-09-16-09-54-42.bpo-38136.MdI-Zb.rst @@ -0,0 +1,3 @@ +Changes AsyncMock call count and await count to be two different counters. +Now await count only counts when a coroutine has been awaited, not when it +has been called, and vice-versa. Update the documentation around this. |