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

use unittest.mock instead of mock

Open pgajdos opened this issue 3 years ago • 2 comments

Could you please consider to use unittest.mock at least as a fallback, when mock is not installed?

pgajdos avatar Mar 21 '22 12:03 pgajdos

Hi! I package this project for Arch Linux and would also very much like to see this happen. We are currently trying to remove the use of mock from our packages, as since python 3.3 unittest.mock is a thing.

Is the compatibility outside of what Python upstream supports (currently >= 3.7) required for anything? It strikes me as odd to still support python 2.7 or anything below 3.7 after such a long time of it being unsupported. Is this intentional?

dvzrv avatar Nov 13 '22 15:11 dvzrv

@xolox ping

dvzrv avatar Jan 05 '23 09:01 dvzrv