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

use unittest.mock instead of mock #1028

Open
pgajdos opened this issue May 17, 2022 · 2 comments
Open

use unittest.mock instead of mock #1028

pgajdos opened this issue May 17, 2022 · 2 comments

Comments

@pgajdos
Copy link

pgajdos commented May 17, 2022

Could you please consider to utilize unittest.mock? It seems you support older pythons, so you probably cannot really remove mock usage, but unittest.mock could be used as a fallback.

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

@deltoura
Copy link

Or would you consider dropping support for Python 2.7? (which has officially reached its end of life anyway)

@bittner
Copy link
Member

bittner commented May 19, 2022

Or would you consider dropping support for Python 2.7? (which has officially reached its end of life anyway)

See #1030 for a related discussion.

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

Successfully merging a pull request may close this issue.

3 participants