8000 Improve tests for _colorize.can_colorize() by serhiy-storchaka · Pull Request #129234 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

Improve tests for _colorize.can_colorize() #129234

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

Merged
merged 5 commits into from
Jan 24, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update Lib/test/test__colorize.py
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
  • Loading branch information
serhiy-storchaka and hugovk authored Jan 24, 2025
commit 5c2c829e741b3dedbb93341a031e04020931f8e0
1 change: 1 addition & 0 deletions Lib/test/test__colorize.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ def clear_env():
mock_env.unset(var)
yield mock_env


def supports_virtual_terminal():
if sys.platform == "win32":
return unittest.mock.patch("nt._supports_virtual_terminal", return_value=True)
Expand Down
Loading
0