René's URL Explorer Experiment


Title: bpo-37383: Updates docs to reflect AsyncMock call_count after await. by lisroach · Pull Request #15761 · python/cpython · GitHub

Open Graph Title: bpo-37383: Updates docs to reflect AsyncMock call_count after await. by lisroach · Pull Request #15761 · python/cpython

X Title: bpo-37383: Updates docs to reflect AsyncMock call_count after await. by lisroach · Pull Request #15761 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Updates documentation to make it more clear that call_count is not updated unless the AsyncMock has been awaited. https://bugs.python.org/issue37383

X Description: Updates documentation to make it more clear that call_count is not updated unless the AsyncMock has been awaited. https://bugs.python.org/issue37383

Opengraph URL: https://github.com/python/cpython/pull/15761

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:039a3ef5-5d55-b3a6-0d48-2697670d68e3
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9C5C:2F9C11:66D6C7:88F965:6A54152F
html-safe-noncef213386cca4b9d1b36fee6930e9bf5f05dbe17c55231b7168a14aa955e4c6e00
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QzVDOjJGOUMxMTo2NkQ2Qzc6ODhGOTY1OjZBNTQxNTJGIiwidmlzaXRvcl9pZCI6IjIxNTMyNjAyMTMyOTMyOTA3OTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac02bb7706398270752cb403a2bd24edf60e583b4590956845263e5ccc004ff05d
hovercard-subject-tagpull_request:315486553
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/15761/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/8f3b00f90f1aaba5d842d9b45f6ea2e167aa33fc8b6712f24934486dd4c6b8f7/python/cpython/pull/15761
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8f3b00f90f1aaba5d842d9b45f6ea2e167aa33fc8b6712f24934486dd4c6b8f7/python/cpython/pull/15761
og:image:altUpdates documentation to make it more clear that call_count is not updated unless the AsyncMock has been awaited. https://bugs.python.org/issue37383
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamelisroach
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/15761#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F15761
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F15761
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/15761
Reloadhttps://github.com/python/cpython/pull/15761
Reloadhttps://github.com/python/cpython/pull/15761
Please reload this pagehttps://github.com/python/cpython/pull/15761
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/15761
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.8k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
lisroachhttps://github.com/lisroach
python:masterhttps://github.com/python/cpython/tree/master
lisroach:iss351428https://github.com/lisroach/cpython/tree/iss351428
Conversationhttps://github.com/python/cpython/pull/15761
Commits4 (4)https://github.com/python/cpython/pull/15761/commits
Checkshttps://github.com/python/cpython/pull/15761/checks
Files changedhttps://github.com/python/cpython/pull/15761/files
bpo-37383: Updates docs to reflect AsyncMock call_count after await.https://github.com/python/cpython/pull/15761#top
lisroachhttps://github.com/lisroach
python:masterhttps://github.com/python/cpython/tree/master
lisroach:iss351428https://github.com/lisroach/cpython/tree/iss351428
https://github.com/lisroach
lisroachhttps://github.com/lisroach
Sep 9, 2019https://github.com/python/cpython/pull/15761#issue-491041426
Please reload this pagehttps://github.com/python/cpython/pull/15761
https://bugs.python.org/issue37383https://bugs.python.org/issue37383
Please reload this pagehttps://github.com/python/cpython/pull/15761
https://github.com/lisroach
bpo-351428: Updates documentation to reflect AsyncMock call_count aft…https://github.com/python/cpython/pull/15761/commits/291aac013df6441dea88d5bb7d83b168c15a03e5
291aac0https://github.com/python/cpython/pull/15761/commits/291aac013df6441dea88d5bb7d83b168c15a03e5
https://github.com/the-knights-who-say-ni
the-knights-who-say-nihttps://github.com/the-knights-who-say-ni
CLA signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Sep 9, 2019https://github.com/python/cpython/pull/15761#event-2618342846
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
docs https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Adocs
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Sep 9, 2019https://github.com/python/cpython/pull/15761#event-2618342885
https://github.com/lisroach
lisroachhttps://github.com/lisroach
Sep 9, 2019https://github.com/python/cpython/pull/15761#event-2618344353
https://github.com/lisroach
lisroachhttps://github.com/lisroach
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Sep 9, 2019https://github.com/python/cpython/pull/15761#event-2618344764
https://github.com/lisroach
lisroachhttps://github.com/lisroach
Sep 9, 2019https://github.com/python/cpython/pull/15761#event-2618345781
https://github.com/asvetlov
asvetlovhttps://github.com/asvetlov
Sep 9, 2019 https://github.com/python/cpython/pull/15761#pullrequestreview-285451786
View reviewed changes https://github.com/python/cpython/pull/15761/files/291aac013df6441dea88d5bb7d83b168c15a03e5
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Sep 9, 2019https://github.com/python/cpython/pull/15761#event-2618386162
https://github.com/tirkarthi
tirkarthihttps://github.com/tirkarthi
Sep 9, 2019 https://github.com/python/cpython/pull/15761#pullrequestreview-285484383
View reviewed changes https://github.com/python/cpython/pull/15761/files/291aac013df6441dea88d5bb7d83b168c15a03e5
Doc/library/unittest.mock.rsthttps://github.com/python/cpython/pull/15761/files/291aac013df6441dea88d5bb7d83b168c15a03e5#diff-e24490db2cf4ecf0da79ab5fe9aa0ab7de1b333424356e079a5d56a263d2082a
tirkarthihttps://github.com/tirkarthi
Sep 9, 2019https://github.com/python/cpython/pull/15761#discussion_r322225057
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/15761
lisroachhttps://github.com/lisroach
September 9, 2019 15:00https://github.com/python/cpython/pull/15761#commits-pushed-14e16d3
https://github.com/lisroach
Adds skip and fixes warning.https://github.com/python/cpython/pull/15761/commits/14e16d3e865b011fd94d581ea46ee6b05fad9786
14e16d3https://github.com/python/cpython/pull/15761/commits/14e16d3e865b011fd94d581ea46ee6b05fad9786
https://github.com/lisroach
Removes extra >>>.https://github.com/python/cpython/pull/15761/commits/f5cafc3f69d4aaacef167f192b4e1d9b0cf0dcaf
f5cafc3https://github.com/python/cpython/pull/15761/commits/f5cafc3f69d4aaacef167f192b4e1d9b0cf0dcaf
https://github.com/tirkarthi
tirkarthihttps://github.com/tirkarthi
Sep 9, 2019 https://github.com/python/cpython/pull/15761#pullrequestreview-285570107
View reviewed changes https://github.com/python/cpython/pull/15761/files/f5cafc3f69d4aaacef167f192b4e1d9b0cf0dcaf
Doc/library/unittest.mock.rsthttps://github.com/python/cpython/pull/15761/files/f5cafc3f69d4aaacef167f192b4e1d9b0cf0dcaf#diff-e24490db2cf4ecf0da79ab5fe9aa0ab7de1b333424356e079a5d56a263d2082a
tirkarthihttps://github.com/tirkarthi
Sep 9, 2019https://github.com/python/cpython/pull/15761#discussion_r322290155
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/15761
tirkarthihttps://github.com/tirkarthi
Sep 9, 2019https://github.com/python/cpython/pull/15761#discussion_r322292949
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://bugs.python.org/issue37006https://bugs.python.org/issue37006
Please reload this pagehttps://github.com/python/cpython/pull/15761
lisroachhttps://github.com/lisroach
Sep 9, 2019https://github.com/python/cpython/pull/15761#discussion_r322293681
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/15761
tirkarthihttps://github.com/tirkarthi
Sep 9, 2019https://github.com/python/cpython/pull/15761#discussion_r322300262
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://travis-ci.org/python/cpython/jobs/582713783#L1482https://travis-ci.org/python/cpython/jobs/582713783#L1482
Please reload this pagehttps://github.com/python/cpython/pull/15761
https://github.com/lisroach
Adds ... in front of await mock().https://github.com/python/cpython/pull/15761/commits/5029d66d649110729a1f1cf8e8b74df2ee2a3b0e
5029d66https://github.com/python/cpython/pull/15761/commits/5029d66d649110729a1f1cf8e8b74df2ee2a3b0e
https://github.com/tirkarthi
tirkarthihttps://github.com/tirkarthi
Sep 9, 2019 https://github.com/python/cpython/pull/15761#pullrequestreview-285634460
View reviewed changes https://github.com/python/cpython/pull/15761/files/5029d66d649110729a1f1cf8e8b74df2ee2a3b0e
tirkarthihttps://github.com/tirkarthi
https://github.com/python/cpython/pull/15761#pullrequestreview-285634460
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/15761
https://github.com/lisroach
lisroachhttps://github.com/lisroach
b9f65f0https://github.com/python/cpython/commit/b9f65f01fd761da7799f36d29b54518399d3458e
Sep 9, 2019https://github.com/python/cpython/pull/15761#event-2619430040
https://github.com/lisroach
lisroachhttps://github.com/lisroach
September 9, 2019 16:54https://github.com/python/cpython/pull/15761#event-2619430083
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Sep 9, 2019https://github.com/python/cpython/pull/15761#issuecomment-529570300
@lisroachhttps://github.com/lisroach
Please reload this pagehttps://github.com/python/cpython/pull/15761
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Sep 9, 2019https://github.com/python/cpython/pull/15761#event-2619430176
https://github.com/tirkarthi
tirkarthihttps://github.com/tirkarthi
Sep 9, 2019https://github.com/python/cpython/pull/15761#issuecomment-529575312
Please reload this pagehttps://github.com/python/cpython/pull/15761
https://github.com/lisroach
lisroachhttps://github.com/lisroach
needs backport to 3.8 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.8%22
Sep 9, 2019https://github.com/python/cpython/pull/15761#event-2619480156
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
Sep 9, 2019https://github.com/python/cpython/pull/15761#issuecomment-529577097
@lisroachhttps://github.com/lisroach
Please reload this pagehttps://github.com/python/cpython/pull/15761
miss-islingtonhttps://github.com/miss-islington
Sep 9, 2019 https://github.com/python/cpython/pull/15761#ref-commit-198d3c9
https://github.com/lisroach
https://github.com/miss-islington
bpo-37383: Updates docs to reflect AsyncMock call_count after await. (https://github.com/miss-islington/cpython/commit/198d3c9671b7e97d8aa60151ad8cd7cbc1bf7c8c
p…https://github.com/python/cpython/pull/15761
198d3c9https://github.com/miss-islington/cpython/commit/198d3c9671b7e97d8aa60151ad8cd7cbc1bf7c8c
…ythonGH-15761https://github.com/python/cpython/pull/15761
b9f65f0https://github.com/miss-islington/cpython/commit/b9f65f01fd761da7799f36d29b54518399d3458e
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Sep 9, 2019https://github.com/python/cpython/pull/15761#issuecomment-529577169
GH-15810https://github.com/python/cpython/pull/15810
3.8 branchhttps://github.com/python/cpython/tree/3.8
Please reload this pagehttps://github.com/python/cpython/pull/15761
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
needs backport to 3.8 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.8%22
Sep 9, 2019https://github.com/python/cpython/pull/15761#event-2619480753
miss-islingtonhttps://github.com/miss-islington
Sep 10, 2019 https://github.com/python/cpython/pull/15761#ref-commit-d4391aa
https://github.com/miss-islington
https://github.com/lisroach
bpo-37383https://bugs.python.org/issue?@action=redirect&bpo=37383
: Updates docs to reflect AsyncMock call_count after await. (https://github.com/python/cpython/commit/d4391aa5eb4767e19b7b380a836413e7c47f1fb4
G…https://github.com/python/cpython/pull/15761
d4391aahttps://github.com/python/cpython/commit/d4391aa5eb4767e19b7b380a836413e7c47f1fb4
…H-15761https://github.com/python/cpython/pull/15761
bpo-351428https://bugs.python.org/issue?@action=redirect&bpo=351428
b9f65f0https://github.com/python/cpython/commit/b9f65f01fd761da7799f36d29b54518399d3458e
https://github.com/tirkarthi
tirkarthihttps://github.com/tirkarthi
Sep 16, 2019 https://github.com/python/cpython/pull/15761#ref-pullrequest-494164555
bpo-38136: Updates await_count and call_count to be different things #16192 https://github.com/python/cpython/pull/16192
websurfer5https://github.com/websurfer5
Jul 20, 2020 https://github.com/python/cpython/pull/15761#ref-commit-1f2f5b0
https://github.com/lisroach
https://github.com/websurfer5
bpo-37383: Updates docs to reflect AsyncMock call_count after await. (https://github.com/websurfer5/cpython/commit/1f2f5b0e92c55a65b58708be1d13c130ba2a779a
p…https://github.com/python/cpython/pull/15761
1f2f5b0https://github.com/websurfer5/cpython/commit/1f2f5b0e92c55a65b58708be1d13c130ba2a779a
…ython#15761https://github.com/python/cpython/pull/15761
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F15761
https://github.com/asvetlov
asvetlov https://github.com/asvetlov
https://github.com/python/cpython/pull/15761/files/291aac013df6441dea88d5bb7d83b168c15a03e5
https://github.com/tirkarthi
tirkarthi https://github.com/tirkarthi
https://github.com/python/cpython/pull/15761/files/5029d66d649110729a1f1cf8e8b74df2ee2a3b0e
docs https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Adocs
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Please reload this pagehttps://github.com/python/cpython/pull/15761
https://github.com/lisroach
https://github.com/bedevere-bot
https://github.com/tirkarthi
https://github.com/miss-islington
https://github.com/asvetlov
https://github.com/the-knights-who-say-ni
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.