Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit90f31b3

Browse files
committed
gh-111201: Skip pyperl Windows tests earlier
Don't attempt to load pyperl Windows console if platforms others thanWindows. For example, the import can fail if ctypes is missing.
1 parentb9965ef commit90f31b3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

‎Lib/test/test_pyrepl/test_windows_console.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1-
importitertools
21
importsys
32
importunittest
3+
4+
ifsys.platform!='win32':
5+
raiseunittest.SkipTest("test only relevant on win32")
6+
7+
8+
importitertools
49
from_pyrepl.consoleimportEvent,Console
510
from_pyrepl.windows_consoleimport (
611
MOVE_LEFT,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp