Skip to content

chore: prefer unittest.mock from the standard library for Python >=3.8 #793

New issue

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

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

Already on GitHub? # to your account

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

Conversation

a-detiste
Copy link

This keeps compatibility with Python3.7

@a-detiste a-detiste changed the title prefer unittest.mock from the standard library for Python >=3.8 chore: prefer unittest.mock from the standard library for Python >=3.8 May 23, 2024
@tiwarishubham635
Copy link
Contributor

tiwarishubham635 commented May 24, 2024

I see your changes. So that means if we want to support python 3.7, then mock can't be used directly? In a sense, we'll still have the dependency on unittest. Is that right?

@a-detiste
Copy link
Author

a-detiste commented May 24, 2024 via email

@a-detiste
Copy link
Author

@tiwarishubham635 unittest is part of the standard library

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

Successfully merging this pull request may close these issues.

2 participants