-
Notifications
You must be signed in to change notification settings - Fork 90
use unittest.mock instead of mock #377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The testsuite runs fine for me with Python 3.8, 3.9 and 3.10 with unittest.mock: It seems to be just Backtround: |
Hi @pgajdos, |
Now that the minimum supported version of Python is 3.7, we can stop using the external mock requirement, and import it from unittest. I have also attempted to keep imports ordered. Fixes googleapis#377
Now that the minimum supported version of Python is 3.7, we can stop using the external mock requirement, and import it from unittest. I have also attempted to keep imports ordered. Fixes googleapis#377
Rather a question, do you plan to migrate mock usage in tests to built-in unittest.mock instead?
The text was updated successfully, but these errors were encountered: