google-auth-library-python-oauthlib icon indicating copy to clipboard operation
google-auth-library-python-oauthlib copied to clipboard

use unittest.mock instead of mock

Open pgajdos opened this issue 3 years ago • 1 comments

Could you please consider to use built-in unittest.mock instead of mock?

pgajdos avatar Jun 08 '22 11:06 pgajdos

In this case, as tested with 3.8+ s/import mock/from unittest import mock/ is enough.

Background: https://trello.com/c/S6eADbii/64-remove-python-mock https://fedoraproject.org/wiki/Changes/DeprecatePythonMock

pgajdos avatar Jun 08 '22 11:06 pgajdos