Title: bpo-35685: Add examples of unittest.mock.patch.dict usage by eamanu · Pull Request #11456 · python/cpython · GitHub
Open Graph Title: bpo-35685: Add examples of unittest.mock.patch.dict usage by eamanu · Pull Request #11456 · python/cpython
X Title: bpo-35685: Add examples of unittest.mock.patch.dict usage by eamanu · Pull Request #11456 · python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: Add examples of the use of mock.path.dict with decorator and in class. Currently there are examples only with the use on context manager. https://bugs.python.org/issue35685
X Description: Add examples of the use of mock.path.dict with decorator and in class. Currently there are examples only with the use on context manager. https://bugs.python.org/issue35685
Opengraph URL: https://github.com/python/cpython/pull/11456
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:ed050b0e-07e2-9cbd-7a82-82b3527452bb |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A610:36EA22:1B5BD6E:27ECDE8:6A54F728 |
| html-safe-nonce | 1698ce44a9a21f3d043dab8fe177e976122ba4b4ba5b6b154b5766693c751569 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNjEwOjM2RUEyMjoxQjVCRDZFOjI3RUNERTg6NkE1NEY3MjgiLCJ2aXNpdG9yX2lkIjoiNzkzMzAzOTc1NTU0NTM0Mzc4NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f4c5518a75d2abc6dcce493c0f0f0a70c6546104bf9acd3b3762b47a655fdcdf |
| hovercard-subject-tag | pull_request:242610590 |
| 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/11456/commits |
| twitter:image | https://opengraph.githubassets.com/8aed47559d4bdfdeb4426b4b0a11e477623072fb6d8ff209b8405ef785eeb8ef/python/cpython/pull/11456 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8aed47559d4bdfdeb4426b4b0a11e477623072fb6d8ff209b8405ef785eeb8ef/python/cpython/pull/11456 |
| og:image:alt | Add examples of the use of mock.path.dict with decorator and in class. Currently there are examples only with the use on context manager. https://bugs.python.org/issue35685 |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | eamanu |
| hostname | github.com |
| expected-hostname | github.com |
| None | eae2aab99907699a22d2c8449aa683ca74454fca87211b98f7c7b722086b2839 |
| 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 | dd26d3896747463b6bd56edd5e290edb595c3cbc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width