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

on Python3, use the new unittest.mock from standard library #48

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

a-detiste
Copy link

https://github.com/testing-cabal/mock

mock is now part of the Python standard library, available as unittest.mock in Python 3.3 onwards.

@dvarrazzo
Copy link
Member

Considering that it makes little sense to support anything before Python 3.8, or 3.6 to be even more conservative, maybe we can even drop the try?

@a-detiste
Copy link
Author

a-detiste commented Jun 11, 2024 via email

@a-detiste
Copy link
Author

a-detiste commented Jun 11, 2024 via email

@dvarrazzo
Copy link
Member

We can most definitely drop support for Python 2.7.

@a-detiste
Copy link
Author

And then remove six too...

@a-detiste
Copy link
Author

This is ready

@dvarrazzo
Copy link
Member

Hello, thank you

I see that this project still uses travis for tests.

Are you able to migrate the CI to Github Actions?

@a-detiste
Copy link
Author

Me ? I think project admin can push anything to this branch but I don't have the skills fir this one task.

@dvarrazzo
Copy link
Member

Ok, thank you.

At the moment, automated tests don't run on this project and I am swamped with other work, therefore I cannot test this MR right now.

I appreciate your work, I will merge your MR to master as I get around doing it.

Thank you very much.

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.

2 participants