Title: mock.patch with autospec does not consume self / cls argument · Issue #76273 · python/cpython · GitHub
Open Graph Title: mock.patch with autospec does not consume self / cls argument · Issue #76273 · python/cpython
X Title: mock.patch with autospec does not consume self / cls argument · Issue #76273 · python/cpython
Description: BPO 32092 Nosy @cjw296, @voidspace, @phmc, @lisroach, @mariocj89, @BCLAU, @tirkarthi PRs #4476 Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state. Show more details GitHu...
Open Graph Description: BPO 32092 Nosy @cjw296, @voidspace, @phmc, @lisroach, @mariocj89, @BCLAU, @tirkarthi PRs #4476 Note: these values reflect the state of the issue at the time it was migrated and might not reflect th...
X Description: BPO 32092 Nosy @cjw296, @voidspace, @phmc, @lisroach, @mariocj89, @BCLAU, @tirkarthi PRs #4476 Note: these values reflect the state of the issue at the time it was migrated and might not reflect th...
Opengraph URL: https://github.com/python/cpython/issues/76273
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"mock.patch with autospec does not consume self / cls argument","articleBody":"BPO | [32092](https://bugs.python.org/issue32092)\n--- | :---\nNosy | @cjw296, @voidspace, @phmc, @lisroach, @mariocj89, @bclau, @tirkarthi\nPRs | \u003cli\u003epython/cpython#4476\u003c/li\u003e\n\n\u003csup\u003e*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup\u003e\n\n\u003cdetails\u003e\u003csummary\u003eShow more details\u003c/summary\u003e\u003cp\u003e\n\nGitHub fields:\n```python\nassignee = None\nclosed_at = None\ncreated_at = \u003cDate 2017-11-20.15:50:21.285\u003e\nlabels = ['3.7', '3.8', 'type-bug', 'library', '3.9']\ntitle = 'mock.patch with autospec does not consume self / cls argument'\nupdated_at = \u003cDate 2019-10-28.20:46:16.247\u003e\nuser = 'https://github.com/bclau'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2019-10-28.20:46:16.247\u003e\nactor = 'pconnell'\nassignee = 'none'\nclosed = False\nclosed_date = None\ncloser = None\ncomponents = ['Library (Lib)']\ncreation = \u003cDate 2017-11-20.15:50:21.285\u003e\ncreator = 'cbelu'\ndependencies = []\nfiles = []\nhgrepos = []\nissue_num = 32092\nkeywords = ['patch']\nmessage_count = 2.0\nmessages = ['306559', '306560']\nnosy_count = 7.0\nnosy_names = ['cjw296', 'michael.foord', 'pconnell', 'lisroach', 'mariocj89', 'cbelu', 'xtreak']\npr_nums = ['4476']\npriority = 'normal'\nresolution = None\nstage = 'patch review'\nstatus = 'open'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue32092'\nversions = ['Python 3.7', 'Python 3.8', 'Python 3.9']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-146526\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/bclau","@type":"Person","name":"bclau"},"datePublished":"2017-11-20T15:50:21.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/76273/cpython/issues/76273"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:69ea91e9-0677-e1b0-bf7b-64432bfa7392 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D2DC:13E480:609222:869D33:6A5851AA |
| html-safe-nonce | 1a081a758cedb952eca7d2a1364c92e0aecc962b95d8e517877fa9c5b9a24b98 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMkRDOjEzRTQ4MDo2MDkyMjI6ODY5RDMzOjZBNTg1MUFBIiwidmlzaXRvcl9pZCI6IjY2MTIwOTI3MTc5MzMwMjM2NTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2488b54fcddccd53d5c683d305ccfa0b1a862c3c77433265aa4561b8f81d0727 |
| hovercard-subject-tag | issue:1198983072 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/python/cpython/76273/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0a69dc61e48a85d5ad44a4f58ffb604e09fc3129950ae682e29ed8a5b38cf85b/python/cpython/issues/76273 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0a69dc61e48a85d5ad44a4f58ffb604e09fc3129950ae682e29ed8a5b38cf85b/python/cpython/issues/76273 |
| og:image:alt | BPO 32092 Nosy @cjw296, @voidspace, @phmc, @lisroach, @mariocj89, @BCLAU, @tirkarthi PRs #4476 Note: these values reflect the state of the issue at the time it was migrated and might not reflect th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bclau |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6 |
| turbo-cache-control | no-preview |
| 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 | 8aae7b8d6caacacf5c66eaeb2702d8dc88d85b4a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width