Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mock in test_appdirs.py #20

Closed
pgajdos opened this issue Mar 16, 2022 · 3 comments
Closed

mock in test_appdirs.py #20

pgajdos opened this issue Mar 16, 2022 · 3 comments

Comments

@pgajdos
Copy link

pgajdos commented Mar 16, 2022

Would you please consider to make mock usage optional in favour of unittest.mock as in test_browse.py?

@cokelaer
Copy link
Owner

cokelaer commented Feb 1, 2023

not an expert of mock / unittest.mock. What is the rationale behind this request ? thanks for the feedback.

@a-detiste
Copy link
Contributor

Hi,

I should spend time to write down a Python3-mock-removal argumentation page: in short: since mock was merged into the standard library as unittest.mock; the original hasn't moved an itch and will stay there slowly bitrot. All project are switching to the maintained unittest.mock

https://wiki.debian.org/Python3-six-removal

image

@pgajdos
Copy link
Author

pgajdos commented Apr 29, 2024

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants