Title: [3.10] Fix `inspect.signature` call on mocks (#96335) (gh-96127) by thechrisu · Pull Request #108652 · python/cpython · GitHub
Open Graph Title: [3.10] Fix `inspect.signature` call on mocks (#96335) (gh-96127) by thechrisu · Pull Request #108652 · python/cpython
X Title: [3.10] Fix `inspect.signature` call on mocks (#96335) (gh-96127) by thechrisu · Pull Request #108652 · python/cpython
Description: Backporting this fix to make inspect.signature() work with AsyncMock(). This was previously considered in #101647, but that required more rework. The change looked pretty straightforward, and tests passed locally, so putting this up. Followed process at https://devguide.python.org/#quick-reference to create PR Issue: gh-96127
Open Graph Description: Backporting this fix to make inspect.signature() work with AsyncMock(). This was previously considered in #101647, but that required more rework. The change looked pretty straightforward, and tests...
X Description: Backporting this fix to make inspect.signature() work with AsyncMock(). This was previously considered in #101647, but that required more rework. The change looked pretty straightforward, and tests...
Opengraph URL: https://github.com/python/cpython/pull/108652
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:f6615a61-29f3-b7ab-f3c0-84a407b1ae23 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8C32:193CDB:2592703:3127E57:696B5658 |
| html-safe-nonce | 710f76d7f05e394cd16718c9379776773cc90062276e89f6d45bd90f9b5621f1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QzMyOjE5M0NEQjoyNTkyNzAzOjMxMjdFNTc6Njk2QjU2NTgiLCJ2aXNpdG9yX2lkIjoiMzk0NjUzNTAzMDc0ODgyOTI3MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 91be3c08f3ffc1fc3bedcdaceaffe362d1d76a20f0d97789de431089d22da530 |
| hovercard-subject-tag | pull_request:1494228393 |
| 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/108652/files |
| twitter:image | https://avatars.githubusercontent.com/u/14759849?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/14759849?s=400&v=4 |
| og:image:alt | Backporting this fix to make inspect.signature() work with AsyncMock(). This was previously considered in #101647, but that required more rework. The change looked pretty straightforward, and tests... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width