Skip to content

Commit 48dae33

Browse files
committed
Incorporate pythongh-119834 here
1 parent d03284b commit 48dae33

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

Lib/test/test_pyrepl/test_windows_console.py

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,23 @@
11
import itertools
22
import sys
33
import unittest
4-
from _pyrepl.console import Event, Console
5-
from _pyrepl.windows_console import (
6-
MOVE_LEFT,
7-
MOVE_RIGHT,
8-
MOVE_UP,
9-
MOVE_DOWN,
10-
ERASE_IN_LINE,
11-
)
124
from functools import partial
135
from typing import Iterable
14-
from unittest import TestCase, main
15-
from unittest.mock import MagicMock, call, patch, ANY
6+
from unittest import TestCase
7+
from unittest.mock import MagicMock, call
168

179
from .support import handle_all_events, code_to_events
1810

1911
try:
20-
from _pyrepl.console import Event
21-
from _pyrepl.windows_console import WindowsConsole
12+
from _pyrepl.console import Event, Console
13+
from _pyrepl.windows_console import (
14+
WindowsConsole,
15+
MOVE_LEFT,
16+
MOVE_RIGHT,
17+
MOVE_UP,
18+
MOVE_DOWN,
19+
ERASE_IN_LINE,
20+
)
2221
except ImportError:
2322
pass
2423

0 commit comments

Comments
 (0)