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

Appearance settings

Commit 90f31b3

Browse filesBrowse files
committed
gh-111201: Skip pyperl Windows tests earlier
Don't attempt to load pyperl Windows console if platforms others than Windows. For example, the import can fail if ctypes is missing.
1 parent b9965ef commit 90f31b3
Copy full SHA for 90f31b3

File tree

1 file changed

+6
-1
lines changed
Filter options

1 file changed

+6
-1
lines changed

‎Lib/test/test_pyrepl/test_windows_console.py

Copy file name to clipboardExpand all lines: Lib/test/test_pyrepl/test_windows_console.py
+6-1Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1-
import itertools
21
import sys
32
import unittest
3+
4+
if sys.platform != 'win32':
5+
raise unittest.SkipTest("test only relevant on win32")
6+
7+
8+
import itertools
49
from _pyrepl.console import Event, Console
510
from _pyrepl.windows_console import (
611
MOVE_LEFT,

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.