| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:be48ca26-25dc-3016-894e-4fea2bc55a89 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9692:44769:A7003:F3CC2:6A573BD6 |
| html-safe-nonce | 31309dc8be9e1c6032616ee121700423323fc54935a787e53610080857812905 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NjkyOjQ0NzY5OkE3MDAzOkYzQ0MyOjZBNTczQkQ2IiwidmlzaXRvcl9pZCI6IjEyMDY5MTkwOTc5NTY2NDU4NDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c7e5213134aaeae0e2620f7d5322b99d441d564d45e876a2e70e6e9e6af34cad |
| hovercard-subject-tag | pull_request:279864937 |
| 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 | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/13386/files |
| twitter:image | https://avatars.githubusercontent.com/u/356399?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/356399?s=400&v=4 |
| og:image:alt | Add explicit asyncSetUp and asyncTearDown methods.
The rest is the same as for #13228
AsyncTestCase create a loop instance for every test for the sake of test isolation.
Sometimes a loop shared bet... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4e7a7296a3830877cf21a6ad2a972c9e618a48915e03966cf0c53eb08e5aad98 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2576d1f0198cf1588faf2edf27f1ed120903be10 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/13386/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F13386%2Ffiles |
| 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%2F13386%2Ffiles |
|
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/13386/files |
| Reload | https://github.com/python/cpython/pull/13386/files |
| Reload | https://github.com/python/cpython/pull/13386/files |
| Please reload this page | https://github.com/python/cpython/pull/13386/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/13386/files |
|
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 |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| miss-islington | https://github.com/miss-islington |
| python:master | https://github.com/python/cpython/tree/master |
| asvetlov:async-test-case2 | https://github.com/asvetlov/cpython/tree/async-test-case2 |
|
Conversation
11
| https://github.com/python/cpython/pull/13386 |
|
Commits
19
| https://github.com/python/cpython/pull/13386/commits |
|
Checks
0
| https://github.com/python/cpython/pull/13386/checks |
|
Files changed
| https://github.com/python/cpython/pull/13386/files |
| Please reload this page | https://github.com/python/cpython/pull/13386/files |
|
bpo-32972: Async test case
| https://github.com/python/cpython/pull/13386/files#top |
|
Show all changes
19 commits
| https://github.com/python/cpython/pull/13386/files |
|
b77e62d
Test on
asvetlov May 7, 2019
| https://github.com/python/cpython/pull/13386/commits/b77e62d63bc19b0532a2ce57785d97ce078d7498 |
|
de89fda
Work on
asvetlov May 7, 2019
| https://github.com/python/cpython/pull/13386/commits/de89fda86528693fef9b941db30573d67b7b4849 |
|
96fcbd9
Merge branch 'master' into async-test-case
asvetlov May 9, 2019
| https://github.com/python/cpython/pull/13386/commits/96fcbd9733802894aa19f250fe5c52b80ed83a9f |
|
9eef723
Fix test method call
asvetlov May 16, 2019
| https://github.com/python/cpython/pull/13386/commits/9eef7236cafc33a2a809c928c4c0493c45b4da92 |
|
18cb7d4
Merge branch 'master' into async-test-case
asvetlov May 16, 2019
| https://github.com/python/cpython/pull/13386/commits/18cb7d4f5eeebcfd64386456bff921e6fcecafb3 |
|
43091a0
Code cleanup
asvetlov May 16, 2019
| https://github.com/python/cpython/pull/13386/commits/43091a015a970b64927d213663e8d326333a9ca8 |
|
d8ad4d7
Fix test by using positional-arguments only
asvetlov May 16, 2019
| https://github.com/python/cpython/pull/13386/commits/d8ad4d7e38be97131ea484878db93be043f2346d |
|
85df707
Make basic test passing
asvetlov May 16, 2019
| https://github.com/python/cpython/pull/13386/commits/85df7070af27fbdc7b1009482b337424e20146b6 |
|
78d885f
Test addCleanup
asvetlov May 16, 2019
| https://github.com/python/cpython/pull/13386/commits/78d885f71d5752051b1e18fd75fb8ad1ed9fd3c2 |
|
58cb1c8
Make test_support happy
asvetlov May 16, 2019
| https://github.com/python/cpython/pull/13386/commits/58cb1c86aba8ab299daa338ca10c7939a3990397 |
|
0853043
More tests
asvetlov May 16, 2019
| https://github.com/python/cpython/pull/13386/commits/085304384ac97dac5935c144045303503929b18d |
|
03480c4
Prefix async setup/teardown methods
asvetlov May 17, 2019
| https://github.com/python/cpython/pull/13386/commits/03480c42788baafa47720316e661a33038dccf03 |
|
8b99f79
Check for setUp/tearDown calls explicitly
asvetlov May 20, 2019
| https://github.com/python/cpython/pull/13386/commits/8b99f79073cd33ba1bed37417c087a6f16e3b472 |
|
80e1898
Add NEWS
asvetlov May 20, 2019
| https://github.com/python/cpython/pull/13386/commits/80e1898865472fe7666abf56ea575cfee5817ad2 |
|
0d581af
Merge branch 'master' into async-test-case2
asvetlov May 21, 2019
| https://github.com/python/cpython/pull/13386/commits/0d581afc80d48ea30cdc12f4263cad2f7bb1de3b |
|
7cedbf0
Rename
asvetlov May 21, 2019
| https://github.com/python/cpython/pull/13386/commits/7cedbf0c3a35c195e5171e41c1ccc38f6bf3e79e |
|
30c78b5
Merge branch 'master' into async-test-case2
asvetlov May 27, 2019
| https://github.com/python/cpython/pull/13386/commits/30c78b55f8d615443272c75353efd742a5f06c82 |
|
4cd1a86
Merge branch 'master' into async-test-case2
asvetlov May 28, 2019
| https://github.com/python/cpython/pull/13386/commits/4cd1a865c37ab469c158f2fcfd2561eb45690e50 |
|
c1ac3b5
Support addAsyncCleanup()
asvetlov May 28, 2019
| https://github.com/python/cpython/pull/13386/commits/c1ac3b5ce32b00517c3e810f0e28675f538b2f8e |
|
Clear filters
| https://github.com/python/cpython/pull/13386/files |
| Please reload this page | https://github.com/python/cpython/pull/13386/files |
| Please reload this page | https://github.com/python/cpython/pull/13386/files |
|
test_support.py
| https://github.com/python/cpython/pull/13386/files#diff-cb42fd26146ec61cb2242243494a9f314667a9a39153ad17e37465ff5a8a8000 |
|
__init__.py
| https://github.com/python/cpython/pull/13386/files#diff-e278af08db15e97de9401e1860464084b8b0df53251127bc1189cd2458bf62d7 |
|
async_case.py
| https://github.com/python/cpython/pull/13386/files#diff-1f2ae0f6c6010caf9d5f1c80cd6033a796ffe2b60554f5df84f554f4a08e622b |
|
case.py
| https://github.com/python/cpython/pull/13386/files#diff-c6fe1ffe930def48a6adf1fa99b974737bac586fdacccacd1474e7b2f11370eb |
|
test_async_case.py
| https://github.com/python/cpython/pull/13386/files#diff-4a827db849ee7895edd365920bd4570cd772baec91ac3908bd794bce348ac4ad |
|
2019-05-20-14-47-55.bpo-32972.LoeUNh.rst
| https://github.com/python/cpython/pull/13386/files#diff-eb6a36bbb10f709839e7f21d1a343eb794697792e01cc0c4b5ea49f855e365d1 |
| Lib/test/test_support.py | https://github.com/python/cpython/pull/13386/files#diff-cb42fd26146ec61cb2242243494a9f314667a9a39153ad17e37465ff5a8a8000 |
|
View file
| https://github.com/asvetlov/cpython/blob/c1ac3b5ce32b00517c3e810f0e28675f538b2f8e/Lib/test/test_support.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/13386/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/13386/files#diff-cb42fd26146ec61cb2242243494a9f314667a9a39153ad17e37465ff5a8a8000 |
|
| https://github.com/python/cpython/pull/13386/files#diff-cb42fd26146ec61cb2242243494a9f314667a9a39153ad17e37465ff5a8a8000 |
| Lib/unittest/__init__.py | https://github.com/python/cpython/pull/13386/files#diff-e278af08db15e97de9401e1860464084b8b0df53251127bc1189cd2458bf62d7 |
|
View file
| https://github.com/asvetlov/cpython/blob/c1ac3b5ce32b00517c3e810f0e28675f538b2f8e/Lib/unittest/__init__.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/13386/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/13386/files#diff-e278af08db15e97de9401e1860464084b8b0df53251127bc1189cd2458bf62d7 |
|
| https://github.com/python/cpython/pull/13386/files#diff-e278af08db15e97de9401e1860464084b8b0df53251127bc1189cd2458bf62d7 |
|
| https://github.com/python/cpython/pull/13386/files#diff-e278af08db15e97de9401e1860464084b8b0df53251127bc1189cd2458bf62d7 |
| Lib/unittest/async_case.py | https://github.com/python/cpython/pull/13386/files#diff-1f2ae0f6c6010caf9d5f1c80cd6033a796ffe2b60554f5df84f554f4a08e622b |
|
View file
| https://github.com/asvetlov/cpython/blob/c1ac3b5ce32b00517c3e810f0e28675f538b2f8e/Lib/unittest/async_case.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/13386/{{ revealButtonHref }} |
| 1st1 | https://github.com/1st1 |
| May 20, 2019 | https://github.com/python/cpython/pull/13386/files#r285660321 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/13386/files |
| 1st1 | https://github.com/1st1 |
| May 20, 2019 | https://github.com/python/cpython/pull/13386/files#r285661185 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://docs.python.org/3/library/contextlib.html#contextlib.AsyncExitStack.push_async_callback | https://docs.python.org/3/library/contextlib.html#contextlib.AsyncExitStack.push_async_callback |
| Please reload this page | https://github.com/python/cpython/pull/13386/files |
| asvetlov | https://github.com/asvetlov |
| May 20, 2019 | https://github.com/python/cpython/pull/13386/files#r285677232 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/13386/files |
| 1st1 | https://github.com/1st1 |
| May 27, 2019 | https://github.com/python/cpython/pull/13386/files#r287775452 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/13386/files |
| Lib/unittest/case.py | https://github.com/python/cpython/pull/13386/files#diff-c6fe1ffe930def48a6adf1fa99b974737bac586fdacccacd1474e7b2f11370eb |
|
View file
| https://github.com/asvetlov/cpython/blob/c1ac3b5ce32b00517c3e810f0e28675f538b2f8e/Lib/unittest/case.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/13386/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/13386/files#diff-c6fe1ffe930def48a6adf1fa99b974737bac586fdacccacd1474e7b2f11370eb |
|
| https://github.com/python/cpython/pull/13386/files#diff-c6fe1ffe930def48a6adf1fa99b974737bac586fdacccacd1474e7b2f11370eb |
|
| https://github.com/python/cpython/pull/13386/files#diff-c6fe1ffe930def48a6adf1fa99b974737bac586fdacccacd1474e7b2f11370eb |
|
| https://github.com/python/cpython/pull/13386/files#diff-c6fe1ffe930def48a6adf1fa99b974737bac586fdacccacd1474e7b2f11370eb |
|
| https://github.com/python/cpython/pull/13386/files#diff-c6fe1ffe930def48a6adf1fa99b974737bac586fdacccacd1474e7b2f11370eb |
|
| https://github.com/python/cpython/pull/13386/files#diff-c6fe1ffe930def48a6adf1fa99b974737bac586fdacccacd1474e7b2f11370eb |
| Please reload this page | https://github.com/python/cpython/pull/13386/files |
|
| 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 |