Title: Use unittest.mock if it is available by major · Pull Request #208 · googleapis/python-api-core · GitHub
Open Graph Title: Use unittest.mock if it is available by major · Pull Request #208 · googleapis/python-api-core
X Title: Use unittest.mock if it is available by major · Pull Request #208 · googleapis/python-api-core
Description: The python mock module is deprecated in recent Python versions. If unittest.mock is available in the system's python, use that instead. Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea Ensure the tests and linter pass Code coverage does not decrease (if any source code was changed) Appropriate docs were updated (if necessary) Fixes #207 🦕
Open Graph Description: The python mock module is deprecated in recent Python versions. If unittest.mock is available in the system's python, use that instead. Thank you for opening a Pull Request! Before submitting y...
X Description: The python mock module is deprecated in recent Python versions. If unittest.mock is available in the system's python, use that instead. Thank you for opening a Pull Request! Before submitti...
Opengraph URL: https://github.com/googleapis/python-api-core/pull/208
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:fcd1a6be-d0be-50d5-1727-e16109fbca69 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9FE2:1723ED:155A69F:1F32525:6A4E4F96 |
| html-safe-nonce | 566d569d3a490aa3194de08fa25fab62885d8acc035496760e0e38add4f253b0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RkUyOjE3MjNFRDoxNTVBNjlGOjFGMzI1MjU6NkE0RTRGOTYiLCJ2aXNpdG9yX2lkIjoiNDA4OTQ4MjM2MTM5NzIwMjgzOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8fd57d6ddeebba480eb1fcf0ca5b8842845265c516e6d6bb5d553d45a2e6aca1 |
| hovercard-subject-tag | pull_request:670445632 |
| 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/googleapis/python-api-core/pull/208/files |
| twitter:image | https://avatars.githubusercontent.com/u/89910?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/89910?s=400&v=4 |
| og:image:alt | The python mock module is deprecated in recent Python versions. If unittest.mock is available in the system's python, use that instead. Thank you for opening a Pull Request! Before submitting y... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/googleapis/python-api-core git https://github.com/googleapis/python-api-core.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 226992456 |
| octolytics-dimension-repository_nwo | googleapis/python-api-core |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 226992456 |
| octolytics-dimension-repository_network_root_nwo | googleapis/python-api-core |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f344f1eab54fc7dfc02d0d018cda7e158c3db65c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width