Title: gh-117364: Add `doctest.SkipTest` to skip all or some doctest examples by sobolevn · Pull Request #122935 · python/cpython · GitHub
Open Graph Title: gh-117364: Add `doctest.SkipTest` to skip all or some doctest examples by sobolevn · Pull Request #122935 · python/cpython
X Title: gh-117364: Add `doctest.SkipTest` to skip all or some doctest examples by sobolevn · Pull Request #122935 · python/cpython
Description: I ended up with an exception instead of a decorator. Several reasons: Exception allows skipping some parts of doctest, giving more flexibility: >>> 'is not ' + 'skipped' 'is not skipped' >>> imp...
Open Graph Description: I ended up with an exception instead of a decorator. Several reasons: Exception allows skipping some parts of doctest, giving more flexibility: >>> 'is not ' + 'skipped' ...
X Description: I ended up with an exception instead of a decorator. Several reasons: Exception allows skipping some parts of doctest, giving more flexibility: >>> 'is not ' ...
Opengraph URL: https://github.com/python/cpython/pull/122935
X: @github
Domain: github.com
| 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:63c8a51d-dd8f-c1bd-c7f0-4ebb6aa9c5eb |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BAA0:3BAB6B:BC0502:F601DE:696B250A |
| html-safe-nonce | cc87f2c38d472d4cd40d39a4271ce33cc5893716fb2798d9e705af661b9fa25a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQUEwOjNCQUI2QjpCQzA1MDI6RjYwMURFOjY5NkIyNTBBIiwidmlzaXRvcl9pZCI6Ijc3MTgxNTc4MDg2NTcxNzk5MTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 90c8bf96f8a48dfd366f83995956203bc557bbd20a305a671f982edcd9a4037b |
| hovercard-subject-tag | pull_request:2014792526 |
| 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 | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/122935/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/da5434c04c3d29e1d2ab913f16bd3df5bcdc3fa89da8d3787e38a2bae72787b2/python/cpython/pull/122935 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/da5434c04c3d29e1d2ab913f16bd3df5bcdc3fa89da8d3787e38a2bae72787b2/python/cpython/pull/122935 |
| og:image:alt | I ended up with an exception instead of a decorator. Several reasons: Exception allows skipping some parts of doctest, giving more flexibility: >>> 'is not ' + 'skipped' ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sobolevn |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width