Title: bpo-32299: Return patched dict when using patch.dict as a context manager by mariocj89 · Pull Request #11062 · python/cpython · GitHub
Open Graph Title: bpo-32299: Return patched dict when using patch.dict as a context manager by mariocj89 · Pull Request #11062 · python/cpython
X Title: bpo-32299: Return patched dict when using patch.dict as a context manager by mariocj89 · Pull Request #11062 · python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: Return the patched version of the dict when unittest.mock.patch.dict is used as a context manager. This change mirrors the rest of the APIs that patch objects in unittest.mock Closes: #4834 This PR...
X Description: Return the patched version of the dict when unittest.mock.patch.dict is used as a context manager. This change mirrors the rest of the APIs that patch objects in unittest.mock Closes: #4834 This PR...
Opengraph URL: https://github.com/python/cpython/pull/11062
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:7220767e-6250-2e59-e197-121cfb8307bd |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8B40:7116D:514AB:6A73B:6A4D7B8A |
| html-safe-nonce | c3dad4158b0669013cd385af287368b61be43ad05c40b5a9c9d4b462038bcad2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QjQwOjcxMTZEOjUxNEFCOjZBNzNCOjZBNEQ3QjhBIiwidmlzaXRvcl9pZCI6IjE4ODQwNDgxNDU2MDEzNjI4MjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 82cf1c621eff82f74993b1731657f89140bb6be890efa01861df2cc5e5077b9a |
| hovercard-subject-tag | pull_request:237246942 |
| 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/11062/commits |
| twitter:image | https://opengraph.githubassets.com/c87d45f67506e337db9ad84f3b6618234969f16e070987c1e79a5b0d8c4ab9a2/python/cpython/pull/11062 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c87d45f67506e337db9ad84f3b6618234969f16e070987c1e79a5b0d8c4ab9a2/python/cpython/pull/11062 |
| og:image:alt | Return the patched version of the dict when unittest.mock.patch.dict is used as a context manager. This change mirrors the rest of the APIs that patch objects in unittest.mock Closes: #4834 This PR... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mariocj89 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7f8e15305e2ab58890ca84b830615e375f5df303cf471cafcba0c08272981be3 |
| 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 | 8608b0750fc35e283e5ec5b094bff942d7a0e197 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width