Title: gh-74772: Adds signature checking for mock autospec object method calls by claudiubelu · Pull Request #122128 · python/cpython · GitHub
Open Graph Title: gh-74772: Adds signature checking for mock autospec object method calls by claudiubelu · Pull Request #122128 · python/cpython
X Title: gh-74772: Adds signature checking for mock autospec object method calls by claudiubelu · Pull Request #122128 · python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: Mock can accept an spec object / class as argument, making sure that accessing attributes that do not exist in the spec will cause an AttributeError to be raised, but there is no guarantee that the...
X Description: Mock can accept an spec object / class as argument, making sure that accessing attributes that do not exist in the spec will cause an AttributeError to be raised, but there is no guarantee that the...
Opengraph URL: https://github.com/python/cpython/pull/122128
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:46ab3478-9526-94cc-21ea-e93cc253ae68 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8560:63589:224522:2ECA74:6A57F9FB |
| html-safe-nonce | 5f363a01d261323f4dfbbaa25326c94901b0b5c297161a3161ccafd75d30e76d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTYwOjYzNTg5OjIyNDUyMjoyRUNBNzQ6NkE1N0Y5RkIiLCJ2aXNpdG9yX2lkIjoiNDg0NDA0MzUxODk5NjkwNDQ0NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1dae73ab190c56aeabd09853da25b32467ffa28709021acfea03fe3cb6d0bab2 |
| hovercard-subject-tag | pull_request:1981510835 |
| 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/122128/commits |
| twitter:image | https://opengraph.githubassets.com/8aab45981e551d4d6f629de95b429c0e00412cd42ea2148273276b20b04a022d/python/cpython/pull/122128 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8aab45981e551d4d6f629de95b429c0e00412cd42ea2148273276b20b04a022d/python/cpython/pull/122128 |
| og:image:alt | Mock can accept an spec object / class as argument, making sure that accessing attributes that do not exist in the spec will cause an AttributeError to be raised, but there is no guarantee that the... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | claudiubelu |
| hostname | github.com |
| expected-hostname | github.com |
| None | 49c8c15fabcbf356d607a90ca115c13b273e42ff8b74155de050fd229a9b0121 |
| 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 | 3fb1f684e7a833eb1b2d01d39875a2b52cb4fe9b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width