googleapis/google-auth-library-python-oauthlib

use unittest.mock instead of mock

Opened this issue · 1 comments

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

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