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 #207

Open
pgajdos opened this issue Jun 8, 2022 · 1 comment · May be fixed by #351
Open

use unittest.mock instead of mock #207

pgajdos opened this issue Jun 8, 2022 · 1 comment · May be fixed by #351
Labels
🚨 This issue needs some love. triage me I really want to be triaged.

Comments

@pgajdos
Copy link

pgajdos commented Jun 8, 2022

Could you please consider to use built-in unittest.mock instead of mock?

@pgajdos
Copy link
Author

pgajdos commented Jun 8, 2022

In this case, as tested with 3.8+ s/import mock/from unittest import mock/ is enough.

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

@yoshi-automation yoshi-automation added triage me I really want to be triaged. 🚨 This issue needs some love. labels Jun 9, 2022
@a-detiste a-detiste linked a pull request May 10, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚨 This issue needs some love. triage me I really want to be triaged.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants