diff options
author | Ćukasz Langa <lukasz@langa.pl> | 2025-05-05 21:45:25 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-05 21:45:25 (GMT) |
commit | f610bbdf74ea580b14353c6bfd08fd00bcbfa11e (patch) | |
tree | 5755794c7c8f2e4c14ad4be9665499311b4db17b /Lib/test/test_pyrepl/test_windows_console.py | |
parent | 9cc77aaf9dce6ffa82786dc77f7f83387c857cad (diff) | |
download | cpython-f610bbdf74ea580b14353c6bfd08fd00bcbfa11e.zip cpython-f610bbdf74ea580b14353c6bfd08fd00bcbfa11e.tar.gz cpython-f610bbdf74ea580b14353c6bfd08fd00bcbfa11e.tar.bz2 |
gh-133346: Make theming support in _colorize extensible (GH-133347)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Diffstat (limited to 'Lib/test/test_pyrepl/test_windows_console.py')
-rw-r--r-- | Lib/test/test_pyrepl/test_windows_console.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/test_pyrepl/test_windows_console.py b/Lib/test/test_pyrepl/test_windows_console.py index ca90a70..e7bab22 100644 --- a/Lib/test/test_pyrepl/test_windows_console.py +++ b/Lib/test/test_pyrepl/test_windows_console.py @@ -7,12 +7,13 @@ if sys.platform != "win32": import itertools from functools import partial +from test.support import force_not_colorized_test_class from typing import Iterable from unittest import TestCase from unittest.mock import MagicMock, call from .support import handle_all_events, code_to_events -from .support import reader_no_colors as default_prepare_reader +from .support import prepare_reader as default_prepare_reader try: from _pyrepl.console import Event, Console @@ -29,6 +30,7 @@ except ImportError: pass +@force_not_colorized_test_class class WindowsConsoleTests(TestCase): def console(self, events, **kwargs) -> Console: console = WindowsConsole() |