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/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:2773e636-2152-47fa-cc9d-4af4ef184755 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | A7FE:3A96BF:2F3CA1A:40F074A:6A54A231 |
| html-safe-nonce | 00a80627b1653e106c963e2e911ba86973b21250df8e1f0007648123f1c46fc2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBN0ZFOjNBOTZCRjoyRjNDQTFBOjQwRjA3NEE6NkE1NEEyMzEiLCJ2aXNpdG9yX2lkIjoiMTI4NjI5ODEwNzk5NTUyOTc3NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | cef4fb2c918bee75aa916da7e2b2bd46d0e4ed3b99fbc95e9be59e7550808b61 |
| hovercard-subject-tag | pull_request:242610590 |
| 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/11456/checks |
| 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 | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | f8cfff6384f62259baea531c7f58bc7040f8dd92 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width