| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:7c2f7304-1e06-d552-5505-1cecaa0d50fc |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B640:37A072:C3ABDD:11CD399:6A5793E6 |
| html-safe-nonce | 96675fbcc659d90c0c26de60529a00345d0c75bea95a60c2ce5e29c633311365 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNjQwOjM3QTA3MjpDM0FCREQ6MTFDRDM5OTo2QTU3OTNFNiIsInZpc2l0b3JfaWQiOiI0MjU2NjcyODYyNTY2ODQ3NDYyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 4e222f6983fde40aee1983aea2fb552ed6e2f021800c9ea4f3252a1e8eeee829 |
| hovercard-subject-tag | pull_request:227907227 |
| 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/10296/files |
| twitter:image | https://avatars.githubusercontent.com/u/350812?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/350812?s=400&v=4 |
| og:image:alt | This PR adds co-routine support to unittest by adding a new sub-class of unittest.TestCase named unittest.AsyncioTestCase. It extends unittest.TestCase by adding the following functionality:
a ne... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | a87fc68e9bdf22e1c7e48ac6a60b98882f4bb103314b3f26b3460c61fc5441ae |
| 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 | a2198d0212ed703af207673eb4d0868d4f867a5b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/10296/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F10296%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%2F10296%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/10296/files |
| Reload | https://github.com/python/cpython/pull/10296/files |
| Reload | https://github.com/python/cpython/pull/10296/files |
| Please reload this page | https://github.com/python/cpython/pull/10296/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/10296/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 |
| dave-shawley | https://github.com/dave-shawley |
| python:master | https://github.com/python/cpython/tree/master |
| dave-shawley:bpo-32971-async-test-runner | https://github.com/dave-shawley/cpython/tree/bpo-32971-async-test-runner |
|
Conversation
14
| https://github.com/python/cpython/pull/10296 |
|
Commits
12
| https://github.com/python/cpython/pull/10296/commits |
|
Checks
0
| https://github.com/python/cpython/pull/10296/checks |
|
Files changed
| https://github.com/python/cpython/pull/10296/files |
| Please reload this page | https://github.com/python/cpython/pull/10296/files |
|
bpo-32972: Add unittest.AsyncioTestCase
| https://github.com/python/cpython/pull/10296/files#top |
|
Show all changes
12 commits
| https://github.com/python/cpython/pull/10296/files |
|
564ada6
unittest.TestRunner: introduce _runTest method.
dave-shawley Oct 15, 2018
| https://github.com/python/cpython/pull/10296/commits/564ada67a52aa52f565e3b2c9585e15a02d9afdd |
|
9a780c6
unittest: Refactor TestCase.debug.
dave-shawley Oct 15, 2018
| https://github.com/python/cpython/pull/10296/commits/9a780c663785f40bdb25cd7333d4edfdbf83c16e |
|
60d3514
Add unittest.AsyncioTestCase.
dave-shawley Oct 21, 2018
| https://github.com/python/cpython/pull/10296/commits/60d35149d7d4e2b684ccfa90618cabad7c86df88 |
|
6fa2911
unittest: Introduce asyncSetUp/TearDown.
dave-shawley Oct 24, 2018
| https://github.com/python/cpython/pull/10296/commits/6fa2911a1ee6661fc6edbc5c33560292f8e31817 |
|
231aab5
unittest: Introduce TestCase._terminateTest.
dave-shawley Oct 24, 2018
| https://github.com/python/cpython/pull/10296/commits/231aab56786b8af277898c0bb5a34ba6e155ade5 |
|
88a697c
unittest: Shutdown async generators.
dave-shawley Oct 25, 2018
| https://github.com/python/cpython/pull/10296/commits/88a697cd022510f222e82ea64f0b7751da18c2a7 |
|
9f6263e
unittest: Enable event loop debug flag.
dave-shawley Oct 25, 2018
| https://github.com/python/cpython/pull/10296/commits/9f6263e46a1dac1d77ed9280413604b41ca03946 |
|
694e6d5
bpo-32972: Switch to "newer style" classes.
dave-shawley Nov 4, 2018
| https://github.com/python/cpython/pull/10296/commits/694e6d544f3da09aea4026e9951ce49cf3bc6770 |
|
adb4c96
bpo-32972: Docstring cleanup in unittest.case.
dave-shawley Nov 4, 2018
| https://github.com/python/cpython/pull/10296/commits/adb4c96c6c3f948e59bc663f94a13e3831dcdc71 |
|
3c0ac43
bpo-32972: Rename AsyncioTestCase.event_loop.
dave-shawley Nov 4, 2018
| https://github.com/python/cpython/pull/10296/commits/3c0ac4307db6253d84542e52daea48da079547b6 |
|
7eb7899
bpo-32972: Add NEWS blurb.
dave-shawley Nov 4, 2018
| https://github.com/python/cpython/pull/10296/commits/7eb7899fb74417c6c076921e81c475ee3609b5c3 |
|
eed94cf
Merge branch 'master' into bpo-32971-async-test-runner
dave-shawley Nov 13, 2018
| https://github.com/python/cpython/pull/10296/commits/eed94cfeefc66fb1b90c0929d5df930d4af63468 |
|
Clear filters
| https://github.com/python/cpython/pull/10296/files |
| Please reload this page | https://github.com/python/cpython/pull/10296/files |
| Please reload this page | https://github.com/python/cpython/pull/10296/files |
|
__init__.py
| https://github.com/python/cpython/pull/10296/files#diff-e278af08db15e97de9401e1860464084b8b0df53251127bc1189cd2458bf62d7 |
|
case.py
| https://github.com/python/cpython/pull/10296/files#diff-c6fe1ffe930def48a6adf1fa99b974737bac586fdacccacd1474e7b2f11370eb |
|
test_asyncio_test_case.py
| https://github.com/python/cpython/pull/10296/files#diff-2aae2076998a427cdddf002d6a24db266cb18d360187f2bb496607baaa0953f8 |
|
2018-11-04-08-01-54.bpo-32972.MLIb8q.rst
| https://github.com/python/cpython/pull/10296/files#diff-82ea205796d13c4e80a90cc6434b6adbc168828538d5e7b7c7aa28cbee996351 |
| Lib/unittest/__init__.py | https://github.com/python/cpython/pull/10296/files#diff-e278af08db15e97de9401e1860464084b8b0df53251127bc1189cd2458bf62d7 |
|
View file
| https://github.com/dave-shawley/cpython/blob/eed94cfeefc66fb1b90c0929d5df930d4af63468/Lib/unittest/__init__.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/10296/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/10296/files#diff-e278af08db15e97de9401e1860464084b8b0df53251127bc1189cd2458bf62d7 |
|
| https://github.com/python/cpython/pull/10296/files#diff-e278af08db15e97de9401e1860464084b8b0df53251127bc1189cd2458bf62d7 |
|
| https://github.com/python/cpython/pull/10296/files#diff-e278af08db15e97de9401e1860464084b8b0df53251127bc1189cd2458bf62d7 |
| Lib/unittest/case.py | https://github.com/python/cpython/pull/10296/files#diff-c6fe1ffe930def48a6adf1fa99b974737bac586fdacccacd1474e7b2f11370eb |
|
View file
| https://github.com/dave-shawley/cpython/blob/eed94cfeefc66fb1b90c0929d5df930d4af63468/Lib/unittest/case.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/10296/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/10296/files#diff-c6fe1ffe930def48a6adf1fa99b974737bac586fdacccacd1474e7b2f11370eb |
|
| https://github.com/python/cpython/pull/10296/files#diff-c6fe1ffe930def48a6adf1fa99b974737bac586fdacccacd1474e7b2f11370eb |
|
| https://github.com/python/cpython/pull/10296/files#diff-c6fe1ffe930def48a6adf1fa99b974737bac586fdacccacd1474e7b2f11370eb |
|
| https://github.com/python/cpython/pull/10296/files#diff-c6fe1ffe930def48a6adf1fa99b974737bac586fdacccacd1474e7b2f11370eb |
|
| https://github.com/python/cpython/pull/10296/files#diff-c6fe1ffe930def48a6adf1fa99b974737bac586fdacccacd1474e7b2f11370eb |
|
| https://github.com/python/cpython/pull/10296/files#diff-c6fe1ffe930def48a6adf1fa99b974737bac586fdacccacd1474e7b2f11370eb |
|
| https://github.com/python/cpython/pull/10296/files#diff-c6fe1ffe930def48a6adf1fa99b974737bac586fdacccacd1474e7b2f11370eb |
|
| https://github.com/python/cpython/pull/10296/files#diff-c6fe1ffe930def48a6adf1fa99b974737bac586fdacccacd1474e7b2f11370eb |
|
| https://github.com/python/cpython/pull/10296/files#diff-c6fe1ffe930def48a6adf1fa99b974737bac586fdacccacd1474e7b2f11370eb |
|
| https://github.com/python/cpython/pull/10296/files#diff-c6fe1ffe930def48a6adf1fa99b974737bac586fdacccacd1474e7b2f11370eb |
|
| https://github.com/python/cpython/pull/10296/files#diff-c6fe1ffe930def48a6adf1fa99b974737bac586fdacccacd1474e7b2f11370eb |
|
| https://github.com/python/cpython/pull/10296/files#diff-c6fe1ffe930def48a6adf1fa99b974737bac586fdacccacd1474e7b2f11370eb |
|
| https://github.com/python/cpython/pull/10296/files#diff-c6fe1ffe930def48a6adf1fa99b974737bac586fdacccacd1474e7b2f11370eb |
|
| https://github.com/python/cpython/pull/10296/files#diff-c6fe1ffe930def48a6adf1fa99b974737bac586fdacccacd1474e7b2f11370eb |
|
| https://github.com/python/cpython/pull/10296/files#diff-c6fe1ffe930def48a6adf1fa99b974737bac586fdacccacd1474e7b2f11370eb |
|
| https://github.com/python/cpython/pull/10296/files#diff-c6fe1ffe930def48a6adf1fa99b974737bac586fdacccacd1474e7b2f11370eb |
|
| https://github.com/python/cpython/pull/10296/files#diff-c6fe1ffe930def48a6adf1fa99b974737bac586fdacccacd1474e7b2f11370eb |
| PetterS | https://github.com/PetterS |
| Nov 13, 2018 | https://github.com/python/cpython/pull/10296/files#r233025992 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/10296/files |
| dave-shawley | https://github.com/dave-shawley |
| Nov 15, 2018 | https://github.com/python/cpython/pull/10296/files#r233808232 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/10296/files |
| Please reload this page | https://github.com/python/cpython/pull/10296/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 |