python-oauth2 icon indicating copy to clipboard operation
python-oauth2 copied to clipboard

use unittest.mock instead of mock

Open pgajdos opened this issue 3 years ago • 0 comments
trafficstars

I see you are still supporting Python 2, so dropping mock usage is not really an option, but could you please consider to fallback to unittest.mock when mock is not available?

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

pgajdos avatar May 04 '22 10:05 pgajdos