Uh oh!
There was an error while loading. Please reload this page.
Use unittest.mock if it is available - #208
Conversation
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here with What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
major
commented
Jun 15, 2021
@googlebot I signed it! |
The python mock module is deprecated in recent Python versions. If unittest.mock is available in the system's python, use that instead. Fixes: googleapis#207 Signed-off-by: Major Hayden <major@mhtx.net>
tseaver
commented
Jun 15, 2021
@major Thanks for the patch! Rather than add the |
major
commented
Jun 15, 2021
@tseaver That's fine -- just thought I'd offer to help! Feel free to close this if you want. |
tseaver
commented
Jun 15, 2021
Superseded by #210. |
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:
Fixes#207 🦕