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

Closed
pgajdos opened this issue Apr 27, 2022 · 2 comments · Fixed by #171
Closed

use unittest.mock instead of mock #169

pgajdos opened this issue Apr 27, 2022 · 2 comments · Fixed by #171

Comments

@pgajdos
Copy link

pgajdos commented Apr 27, 2022

Could you please consider to utilize built-in unittest.mock?

sed -i 's:from mock:from unittest.mock:' tests/test_ansi2html.py

works for me.

@hartwork
Copy link
Collaborator

hartwork commented May 8, 2022

@pgajdos good point, addressed by new PR #171.

@pgajdos
Copy link
Author

pgajdos commented May 9, 2022

Thanks!

nehaljwani added a commit to regro-cf-autotick-bot/ansi2html-feedstock that referenced this issue Sep 26, 2023
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 a pull request may close this issue.

2 participants