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: 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
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/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:9c52f131-377f-fb0a-6e65-d7e3900b598c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D6D6:20A60F:B42C48:1063F70:6A54B75F |
| html-safe-nonce | 71416ef480c3a63d77e1a610fc2105841452ce6ac1f85cd3bc1a8b263c7896d4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENkQ2OjIwQTYwRjpCNDJDNDg6MTA2M0Y3MDo2QTU0Qjc1RiIsInZpc2l0b3JfaWQiOiIyMTU3NDc1MDMyMjA0NjIxNjYzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 72985ea3378008df1305fe1b70fa7263c68a63af713feaf81e4ce33d966d5bcf |
| 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/files |
| twitter:image | https://avatars.githubusercontent.com/u/7605307?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/7605307?s=400&v=4 |
| 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:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5d343e1152573ef294b28f54e4a14fb5fdb3a5a1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width