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 newer unittest.mock everwhere #3529

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

a-detiste
Copy link

this is the same pattern as already seen in test_poincare.py

@mpenkov
Copy link
Collaborator

mpenkov commented Apr 23, 2024

I think even simpler from unittest import mock is safe.

That submodule has been around since Python 3.3. There is no way it won't be available. The existing behavior is a hangover from the days when we supported Python 2.7.

@a-detiste
Copy link
Author

-> I studied this one :-)

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 this pull request may close these issues.

None yet

2 participants