Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c387a7 commit 91601a5Copy full SHA for 91601a5
1 file changed
Lib/test/test_pyrepl/test_windows_console.py
@@ -1,7 +1,11 @@
1
-import itertools
2
import sys
3
import unittest
4
+if sys.platform != 'win32':
5
+ raise unittest.SkipTest("test only relevant on win32")
6
+
7
8
+import itertools
9
from functools import partial
10
from typing import Iterable
11
from unittest import TestCase
@@ -23,7 +27,6 @@
23
27
pass
24
28
25
29
26
-@unittest.skipIf(sys.platform != "win32", "Test class specifically for Windows")
30
class WindowsConsoleTests(TestCase):
31
def console(self, events, **kwargs) -> Console:
32
console = WindowsConsole()
0 commit comments