8000 [3.13] gh-111201: Support pyrepl on Windows (GH-119559) by miss-islington · Pull Request #119850 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

[3.13] gh-111201: Support pyrepl on Windows (GH-119559) #119850

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 2 commits into from
May 31, 2024
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
Incorporate gh-119834 here
  • Loading branch information
ambv committed May 31, 2024
commit 48dae330d80867afd2ff247359cb330f24fc4e6f
23 changes: 11 additions & 12 deletions Lib/test/test_pyrepl/test_windows_console.py
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
import itertools
import sys
import unittest
from _pyrepl.console import Event, Console
from _pyrepl.windows_console import (
MOVE_LEFT,
MOVE_RIGHT,
MOVE_UP,
MOVE_DOWN,
ERASE_IN_LINE,
)
from functools import partial
from typing import Iterable
from unittest import TestCase, main
from unittest.mock import MagicMock, call, patch, ANY
from unittest import TestCase
from unittest.mock import MagicMock, call

from .support import handle_all_events, code_to_events

try:
from _pyrepl.console import Event
from _pyrepl.windows_console import WindowsConsole
from _pyrepl.console import Event, Console
from _pyrepl.windows_console import (
WindowsConsole,
MOVE_LEFT,
MOVE_RIGHT,
MOVE_UP,
MOVE_DOWN,
ERASE_IN_LINE,
)
except ImportError:
pass

Expand Down
0