| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,7 +1,11 @@ | |||
| 1 | - import itertools | ||
| 2 | 1 | import sys | |
| 3 | 2 | import unittest | |
| 4 | 3 | ||
| 4 | + if sys.platform != 'win32': | ||
| 5 | + raise unittest.SkipTest("test only relevant on win32") | ||
| 6 | + | ||
| 7 | + | ||
| 8 | + import itertools | ||
| 5 | 9 | from functools import partial | |
| 6 | 10 | from typing import Iterable | |
| 7 | 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") | ||
| 27 | 30 | class WindowsConsoleTests(TestCase): | |
| 28 | 31 | def console(self, events, **kwargs) -> Console: | |
| 29 | 32 | console = WindowsConsole() | |
| Back | FazBrowse Home | New Git URL |
0 commit comments