Update: unittest extension for python 3.x#265
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. |
|
Thanks for the PR! If I understand correctly, Can you confirm I'm understanding correctly? Could you also sign the CLA, please? |
|
The try/except should be the other wat around ( unittest.mock is newer than mock nowadays ), |
|
We've moved entirely to unittest.mock #545 |
Hi,
The mock object library has been integrated into the unittest module in python3.x, so I try to add extention like this.
try:except ModuleNotFoundError:Thanks for watching.