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

Closed
pgajdos opened this issue May 12, 2022 · 2 comments
Closed

use unittest.mock instead of mock #1321

pgajdos opened this issue May 12, 2022 · 2 comments
Labels

Comments

@pgajdos
Copy link

pgajdos commented May 12, 2022

Could you please consider to utilize unittest.mock instead of mock?

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

@pgajdos
Copy link
Author

pgajdos commented May 12, 2022

At least 3.8, 3.9 and 3.10 testsuite works with that:
https://build.opensuse.org/package/show/home:pgajdos:python/python-graphene-django/

@ulgens
Copy link
Collaborator

ulgens commented Oct 31, 2022

@pgajdos It seems this is resolved by #1336 If you think the problem still exists, feel free to reopen this issue.

@ulgens ulgens closed this as completed Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants