use unittest.mock instead of mock
Opened this issue · 1 comments
pgajdos commented
Could you please consider to use built-in unittest.mock instead of mock?
pgajdos commented
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