We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff14653 commit f4bd10fCopy full SHA for f4bd10f
Lib/test/test_pyrepl/test_windows_console.py
@@ -11,7 +11,7 @@
11
from unittest import TestCase
12
from unittest.mock import MagicMock, call
13
14
-from .support import handle_all_events, code_to_events
+from .support import handle_all_events, code_to_events, reader_no_colors
15
16
try:
17
from _pyrepl.console import Event, Console
@@ -248,7 +248,9 @@ def test_resize_bigger_on_multiline_function(self):
248
# fmt: on
249
250
events = itertools.chain(code_to_events(code))
251
- reader, console = self.handle_events_short(events)
+ reader, console = handle_events_short_unix_console(
252
+ events, prepare_reader=reader_no_colors
253
+ )
254
255
console.height = 2
256
console.getheightwidth = MagicMock(lambda _: (2, 80))
0 commit comments