| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:f8663be4-badc-c4c6-af3e-61fd6793ab96 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | EBDA:237DC:35BC00:4C343E:6A548363 |
| html-safe-nonce | 2bc318ce991adf3632f4dd48e51a6a609253518f02d7cf54dfb1e68e8eb0f0d8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQkRBOjIzN0RDOjM1QkMwMDo0QzM0M0U6NkE1NDgzNjMiLCJ2aXNpdG9yX2lkIjoiNDI3NTcwMjUxODMzMDQ1ODk4MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | dc7ae8bd70ec981ab92270d126a7246a001ac10d5ea34940cca67ce3d8b1cbc0 |
| hovercard-subject-tag | pull_request:295667271 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/14660/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/8e968b2deb8828b436936d344e46c326ffe8e24c30bee0defd46a81767818abe/python/cpython/pull/14660 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8e968b2deb8828b436936d344e46c326ffe8e24c30bee0defd46a81767818abe/python/cpython/pull/14660 |
| og:image:alt | Add examples for mocking asynchronous iterators and asynchronous context managers.
https://bugs.python.org/issue37052
Automerge-Triggered-By: @asvetlov |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tirkarthi |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-cache |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6d28624802c2f7d9500239dd6870ed7031b7353b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/14660#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F14660 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2F14660 |
|
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 |
| Reload | https://github.com/python/cpython/pull/14660 |
| Reload | https://github.com/python/cpython/pull/14660 |
| Reload | https://github.com/python/cpython/pull/14660 |
| Please reload this page | https://github.com/python/cpython/pull/14660 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/14660 |
|
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 |
| miss-islington | https://github.com/miss-islington |
| python:master | https://github.com/python/cpython/tree/master |
| tirkarthi:bpo37052 | https://github.com/tirkarthi/cpython/tree/bpo37052 |
| Conversation | https://github.com/python/cpython/pull/14660 |
| Commits2 (2) | https://github.com/python/cpython/pull/14660/commits |
| Checks | https://github.com/python/cpython/pull/14660/checks |
| Files changed | https://github.com/python/cpython/pull/14660/files |
| bpo-37052: Add examples for mocking async iterators and context managers | https://github.com/python/cpython/pull/14660#top |
| miss-islington | https://github.com/miss-islington |
| python:master | https://github.com/python/cpython/tree/master |
| tirkarthi:bpo37052 | https://github.com/tirkarthi/cpython/tree/bpo37052 |
|
| https://github.com/tirkarthi |
| tirkarthi | https://github.com/tirkarthi |
| Jul 9, 2019 | https://github.com/python/cpython/pull/14660#issue-465674351 |
| Please reload this page | https://github.com/python/cpython/pull/14660 |
| https://bugs.python.org/issue37052 | https://bugs.python.org/issue37052 |
| @asvetlov | https://github.com/asvetlov |
| Please reload this page | https://github.com/python/cpython/pull/14660 |
|
| https://github.com/tirkarthi |
| Add examples for mocking async iterators and context managers | https://github.com/python/cpython/pull/14660/commits/a33c3859ea45531ce68e3dc0e11d2a0f38a476a7 |
| a33c385 | https://github.com/python/cpython/pull/14660/commits/a33c3859ea45531ce68e3dc0e11d2a0f38a476a7 |
| https://github.com/the-knights-who-say-ni |
| the-knights-who-say-ni | https://github.com/the-knights-who-say-ni |
|
CLA signed
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22 |
| Jul 9, 2019 | https://github.com/python/cpython/pull/14660#event-2468730779 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
docs
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Adocs |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| Jul 9, 2019 | https://github.com/python/cpython/pull/14660#event-2468730815 |
|
| https://github.com/tirkarthi |
| Add missing asyncio import for doctest | https://github.com/python/cpython/pull/14660/commits/d564162d90f62d30f609265dfae5bf196cc39a05 |
| d564162 | https://github.com/python/cpython/pull/14660/commits/d564162d90f62d30f609265dfae5bf196cc39a05 |
| https://github.com/mangrisano |
| mangrisano | https://github.com/mangrisano |
| Jul 9, 2019 | https://github.com/python/cpython/pull/14660#issuecomment-509592701 |
| @asvetlov | https://github.com/asvetlov |
| @1st1 | https://github.com/1st1 |
| @voidspace | https://github.com/voidspace |
| Please reload this page | https://github.com/python/cpython/pull/14660 |
| https://github.com/asvetlov |
| asvetlov | https://github.com/asvetlov |
|
skip news
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22 |
| Sep 10, 2019 | https://github.com/python/cpython/pull/14660#event-2621758396 |
| https://github.com/asvetlov |
| asvetlov | https://github.com/asvetlov |
|
Sep 10, 2019
| https://github.com/python/cpython/pull/14660#pullrequestreview-286056522 |
|
View reviewed changes
| https://github.com/python/cpython/pull/14660/files/d564162d90f62d30f609265dfae5bf196cc39a05 |
| asvetlov | https://github.com/asvetlov |
| https://github.com/python/cpython/pull/14660#pullrequestreview-286056522 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/14660 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| Sep 10, 2019 | https://github.com/python/cpython/pull/14660#event-2621759959 |
| https://github.com/asvetlov |
| asvetlov | https://github.com/asvetlov |
|
needs backport to 3.8
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.8%22 |
| Sep 10, 2019 | https://github.com/python/cpython/pull/14660#event-2621760263 |
| https://github.com/miss-islington |
| miss-islington | https://github.com/miss-islington |
| c8dfa73 | https://github.com/python/cpython/commit/c8dfa7333d6317d7cd8c5c7366023f5a668e3f91 |
| Sep 10, 2019 | https://github.com/python/cpython/pull/14660#event-2621761116 |
| https://github.com/miss-islington |
| miss-islington | https://github.com/miss-islington |
| Sep 10, 2019 | https://github.com/python/cpython/pull/14660#issuecomment-529877161 |
| @tirkarthi | https://github.com/tirkarthi |
| Please reload this page | https://github.com/python/cpython/pull/14660 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
| Sep 10, 2019 | https://github.com/python/cpython/pull/14660#event-2621761233 |
| miss-islington | https://github.com/miss-islington |
|
Sep 10, 2019
| https://github.com/python/cpython/pull/14660#ref-commit-2373bee |
|
| https://github.com/tirkarthi |
|
| https://github.com/miss-islington |
| bpo-37052: Add examples for mocking async iterators and context manag… | https://github.com/miss-islington/cpython/commit/2373beedcac671ebdf9bb0fbe89871f2406b668d |
| 2373bee | https://github.com/miss-islington/cpython/commit/2373beedcac671ebdf9bb0fbe89871f2406b668d |
| pythonGH-14660 | https://github.com/python/cpython/pull/14660 |
| https://bugs.python.org/issue37052 | https://bugs.python.org/issue37052 |
| c8dfa73 | https://github.com/miss-islington/cpython/commit/c8dfa7333d6317d7cd8c5c7366023f5a668e3f91 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
| Sep 10, 2019 | https://github.com/python/cpython/pull/14660#issuecomment-529877200 |
| GH-15834 | https://github.com/python/cpython/pull/15834 |
| 3.8 branch | https://github.com/python/cpython/tree/3.8 |
| Please reload this page | https://github.com/python/cpython/pull/14660 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://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 10, 2019 | https://github.com/python/cpython/pull/14660#event-2621761640 |
| miss-islington | https://github.com/miss-islington |
|
Sep 10, 2019
| https://github.com/python/cpython/pull/14660#ref-commit-ab74e52 |
|
| https://github.com/miss-islington |
|
| https://github.com/tirkarthi |
| bpo-37052 | https://bugs.python.org/issue?@action=redirect&bpo=37052 |
| : Add examples for mocking async iterators and context manag… | https://github.com/python/cpython/commit/ab74e52f768be5048faf2a11e78822533afebcb7 |
| ab74e52 | https://github.com/python/cpython/commit/ab74e52f768be5048faf2a11e78822533afebcb7 |
| GH-14660 | https://github.com/python/cpython/pull/14660 |
| https://bugs.python.org/issue37052 | https://bugs.python.org/issue37052 |
| c8dfa73 | https://github.com/python/cpython/commit/c8dfa7333d6317d7cd8c5c7366023f5a668e3f91 |
| websurfer5 | https://github.com/websurfer5 |
|
Jul 20, 2020
| https://github.com/python/cpython/pull/14660#ref-commit-02d3bae |
|
| https://github.com/tirkarthi |
|
| https://github.com/websurfer5 |
| bpo-37052: Add examples for mocking async iterators and context manag… | https://github.com/websurfer5/cpython/commit/02d3bae99141cb1e979c4d23ccaa4cdf594bb3c2 |
| 02d3bae | https://github.com/websurfer5/cpython/commit/02d3bae99141cb1e979c4d23ccaa4cdf594bb3c2 |
| pythonGH-14660 | https://github.com/python/cpython/pull/14660 |
| https://bugs.python.org/issue37052 | https://bugs.python.org/issue37052 |
| https://github.com/tirkarthi |
| tirkarthi | https://github.com/tirkarthi |
|
Apr 10, 2022
| https://github.com/python/cpython/pull/14660#ref-issue-1199012914 |
|
Add examples for mocking async for and async context manager in unittest.mock docs
#81233
| https://github.com/python/cpython/issues/81233 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F14660 |
|
| https://github.com/asvetlov |
|
asvetlov
| https://github.com/asvetlov |
|
| https://github.com/python/cpython/pull/14660/files/d564162d90f62d30f609265dfae5bf196cc39a05 |
|
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 page | https://github.com/python/cpython/pull/14660 |
|
| https://github.com/tirkarthi |
|
| https://github.com/mangrisano |
|
| https://github.com/miss-islington |
|
| https://github.com/bedevere-bot |
|
| https://github.com/asvetlov |
|
| https://github.com/the-knights-who-say-ni |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |