-
-
Notifications
You must be signed in to change notification settings - Fork 31.1k
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
gh-127718: Add colour to test.regrtest
output
#127719
Conversation
error: Name state is not defined [name-defined]
error: Cannot find implementation or library stub for module named _colorize [import-not-found]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to test this? We have https://github.com/python/cpython/blob/main/Lib/test/test_regrtest.py file where this might fit.
I've added some tests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Thank you Hugo for coloring unittest and our test suite!
Examples:
test.regrtest
output #127718📚 Documentation preview 📚: https://cpython-previews--127719.org.readthedocs.build/en/127719/library/test.html#module-test.regrtest