Title: gh-96127: Fix `inspect.signature` call on mocks by sobolevn · Pull Request #96335 · python/cpython · GitHub
Open Graph Title: gh-96127: Fix `inspect.signature` call on mocks by sobolevn · Pull Request #96335 · python/cpython
X Title: gh-96127: Fix `inspect.signature` call on mocks by sobolevn · Pull Request #96335 · python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: Before: >>> import inspect >>> from unittest.mock import AsyncMock >>> inspect.signature(AsyncMock()) Traceback (most recent call last): File "<stdin>",...
X Description: Before: >>> import inspect >>> from unittest.mock import AsyncMock >>> inspect.signature(AsyncMock()) Traceback (most recent call last...
Opengraph URL: https://github.com/python/cpython/pull/96335
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:00d39f70-35b1-c7fb-acdc-35ded669b503 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C310:A981C:9FEA73:E0B6FF:696A1CF2 |
| html-safe-nonce | d34345a20b695b56f10b2e4657de94a86d6fec70627e4d527a3ba03f4c77585a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMzEwOkE5ODFDOjlGRUE3MzpFMEI2RkY6Njk2QTFDRjIiLCJ2aXNpdG9yX2lkIjoiNzY3OTQ2MDQxMTAxODE5MDA2NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3298d77c07c07dadee2198fdcae9dae48ff504db2f76dbe3daf706f67c77fa96 |
| hovercard-subject-tag | pull_request:1038580983 |
| 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/96335/commits |
| twitter:image | https://opengraph.githubassets.com/ee6fceaa7a61825e362a85672e9756b3bce4f2f90cd930208d55f353e75a5786/python/cpython/pull/96335 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ee6fceaa7a61825e362a85672e9756b3bce4f2f90cd930208d55f353e75a5786/python/cpython/pull/96335 |
| og:image:alt | Before: >>> import inspect >>> from unittest.mock import AsyncMock >>> inspect.signature(AsyncMock()) Traceback (most recent call last): File "<stdin>",... |
| 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 | 014f3d193f36b7d393f88ca22d06fbacd370800b40a547c1ea67291e02dc8ea3 |
| 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 | d515f6f09fa57a93bf90355cb894eb84ca4f458f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width