Title: gh-136438: Make sure test.test_pydoc.test_pydoc pass with all optimization levels by Grivvus · Pull Request #136479 · python/cpython · GitHub
Open Graph Title: gh-136438: Make sure test.test_pydoc.test_pydoc pass with all optimization levels by Grivvus · Pull Request #136479 · python/cpython
X Title: gh-136438: Make sure test.test_pydoc.test_pydoc pass with all optimization levels by Grivvus · Pull Request #136479 · python/cpython
Description: Output before: test test.test_pydoc.test_pydoc failed -- Traceback (most recent call last): File "/home/grivvus/cpython/Lib/test/test_pydoc/test_pydoc.py", line 1464, in test_special_form self.assertIn('NoReturn = class _SpecialForm(_Final)', doc) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: 'NoReturn = class _SpecialForm(_Final)' not found in 'Python Library Documentation: _SpecialForm in module typing object\n\nNoReturn = class _SpecialForm(_Final, _NotIterable)\n | NoReturn(getitem)\n |\n | # Internal indicator of special typing constructs.\n | # See __doc__ instance attribute for specific docs.\n |\n | Method resolution order:\n | _SpecialForm\n | _Final\n | _NotIterable\n | builtins.object\n |\n | Methods defined here:\n |\n | __call__(self, *args, **kwds)\n | Call self as a function.\n |\n | __getattr__(self, item)\n |\n | __getitem__(self, parameters)\n |\n | __init__(self, getitem)\n | Initialize self. See help(type(self)) for accurate signature.\n |\n | __instancecheck__(self, obj)\n | Check if an object is an instance.\n |\n | __mro_entries__(self, bases)\n |\n | __or__(self, other)\n | Return self|value.\n |\n | __reduce__(self)\n | Helper for pickle.\n |\n | __repr__(self)\n | Return repr(self).\n |\n | __ror__(self, other)\n | Return value|self.\n |\n | __subclasscheck__(self, cls)\n | Check if a class is a subclass.\n |\n | ----------------------------------------------------------------------\n | Class methods inherited from _Final:\n |\n | __init_subclass__(*args, **kwds)\n | This method is called when a class is subclassed.\n |\n | The default implementation does nothing. It may be\n | overridden to extend subclasses.\n |\n | ----------------------------------------------------------------------\n | Data descriptors inherited from _Final:\n |\n | __weakref__\n | list of weak references to the object\n |\n | ----------------------------------------------------------------------\n | Data and other attributes inherited from _NotIterable:\n |\n | __iter__ = None\n' 0:00:02 load avg: 0.60 [1/1/1] test.test_pydoc.test_pydoc failed (1 failure) == Tests result: FAILURE == Issue: gh-136438
Open Graph Description: Output before: test test.test_pydoc.test_pydoc failed -- Traceback (most recent call last): File "/home/grivvus/cpython/Lib/test/test_pydoc/test_pydoc.py", line 1464, in test_special_fo...
X Description: Output before: test test.test_pydoc.test_pydoc failed -- Traceback (most recent call last): File "/home/grivvus/cpython/Lib/test/test_pydoc/test_pydoc.py", line 1464, in test_sp...
Opengraph URL: https://github.com/python/cpython/pull/136479
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:55b86439-13e3-6964-73dc-d21f5e2967d8 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BE4E:2EC266:8305B6:B4A30E:696A75E7 |
| html-safe-nonce | f7663d4268c84ca0d19e0ec4e1a750467918c83a4c137f67b7badfe303b4aaed |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRTRFOjJFQzI2Njo4MzA1QjY6QjRBMzBFOjY5NkE3NUU3IiwidmlzaXRvcl9pZCI6IjM3ODcyNzYxMjcyODk2MzYzMjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1dd600eb9eabeeb73948d57deb77d071a9f8d5bc839f37bb91ec095d7d54b1ab |
| hovercard-subject-tag | pull_request:2653718971 |
| 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/python/cpython/pull/136479/files |
| twitter:image | https://avatars.githubusercontent.com/u/96835169?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/96835169?s=400&v=4 |
| og:image:alt | Output before: test test.test_pydoc.test_pydoc failed -- Traceback (most recent call last): File "/home/grivvus/cpython/Lib/test/test_pydoc/test_pydoc.py", line 1464, in test_special_fo... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5b774e44f85c14a75886edd04ddda4e5a25ddebbb241bcbb590b08a3048730e8 |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cc5f4eee261b3601c1e98e217ceaf28508b9567e |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width