Title: [3.14] gh-135368: Fix mocks on dataclass specs with `instance=True` (GH-135421) by miss-islington · Pull Request #135503 · python/cpython · GitHub
Open Graph Title: [3.14] gh-135368: Fix mocks on dataclass specs with `instance=True` (GH-135421) by miss-islington · Pull Request #135503 · python/cpython
X Title: [3.14] gh-135368: Fix mocks on dataclass specs with `instance=True` (GH-135421) by miss-islington · Pull Request #135503 · python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: unittest.mock: Regression with create_autospec and dataclasses in 3.14.0b2 #135368: Fix mocks on dataclass specs with instance=True Extend dataclass mock_methods (cherry picked from commit c83...
X Description: unittest.mock: Regression with create_autospec and dataclasses in 3.14.0b2 #135368: Fix mocks on dataclass specs with instance=True Extend dataclass mock_methods (cherry picked from commit c83...
Opengraph URL: https://github.com/python/cpython/pull/135503
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:b4d81aa7-833f-8bf6-dd67-646ca2f7ea5a |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 9494:CDEBD:132DF3:1BF4C4:6A55DF85 |
| html-safe-nonce | 866da97566e58e8bcaf5496d3ebd290b48a1ca263a369ea8387d3e083ad39986 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NDk0OkNERUJEOjEzMkRGMzoxQkY0QzQ6NkE1NURGODUiLCJ2aXNpdG9yX2lkIjoiNTQ1MTc4MjgwNDQyNTAwNjk4MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a237eb1acc859725244f08069bfceef95fcae6282ec4b7c61e55679222324c1e |
| hovercard-subject-tag | pull_request:2592267116 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/135503/checks |
| twitter:image | https://opengraph.githubassets.com/b9cbc9a97b43d375d51774033df37697717a5812b15a3dccf455280cf7b7bac7/python/cpython/pull/135503 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b9cbc9a97b43d375d51774033df37697717a5812b15a3dccf455280cf7b7bac7/python/cpython/pull/135503 |
| og:image:alt | unittest.mock: Regression with create_autospec and dataclasses in 3.14.0b2 #135368: Fix mocks on dataclass specs with instance=True Extend dataclass mock_methods (cherry picked from commit c83... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | miss-islington |
| hostname | github.com |
| expected-hostname | github.com |
| None | b5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e |
| 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 | 3725c7f9b2a6e3a27ef57c5aed13428c0f65e045 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width