neithere / argh

An argparse wrapper that doesn't make you say "argh" each time you deal with it.
http://argh.rtfd.org
GNU Lesser General Public License v3.0
369 stars 56 forks source link

use unittest.mock instead of mock #152

Closed pgajdos closed 1 year ago

pgajdos commented 2 years ago

Could you please consider to use unittest.mock instead of mock, either exclusively or optionally?

pgajdos commented 2 years ago

E. g.: https://build.opensuse.org/package/view_file/home:pgajdos:python/python-argh/python-argh-no_mock.patch

I can make a PR, if you want.

TheChymera commented 2 years ago

@neithere promised to return at some point, but apparently not yet.

pgajdos commented 2 years ago

The patch is now here: https://build.opensuse.org/package/view_file/home:pgajdos:python/python-argh/python-argh-no_mock.patch

neithere commented 1 year ago

Fixed in c453f28eb76e0e81512e35a6800488ff2d2518d7, will be released in the next version.