| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -306,7 +306,8 @@ jobs: | |||
| 306 | 306 | skips: [] | |
| 307 | 307 | timeout: 60 | |
| 308 | 308 | - os: windows-2025 | |
| 309 | - extra_test_args: [] # TODO: Enable '-u all' | ||
| 309 | + extra_test_args: | ||
| 310 | + - '-u all' | ||
| 310 | 311 | env_polluting_tests: | |
| 311 | 312 | - test_set | |
| 312 | 313 | skips: [] | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,7 @@ class TestCP949Map(multibytecodec_support.TestBase_Mapping, | |||
| 11 | 11 | encoding = 'cp949' | |
| 12 | 12 | mapfileurl = 'http://www.pythontest.net/unicode/CP949.TXT' | |
| 13 | 13 | ||
| 14 | - @unittest.expectedFailure # TODO: RUSTPYTHON; LookupError: unknown encoding: cp949 | ||
| 14 | + @unittest.expectedFailureIf(__import__("sys").platform in ("android", "darwin", "linux"), "TODO: RUSTPYTHON; LookupError: unknown encoding: cp949") | ||
| 15 | 15 | def test_mapping_file(self): | |
| 16 | 16 | return super().test_mapping_file() | |
| 17 | 17 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -27,7 +27,7 @@ class TestCP950Map(multibytecodec_support.TestBase_Mapping, | |||
| 27 | 27 | (b"\xFFxy", "replace", "\ufffdxy"), | |
| 28 | 28 | ) | |
| 29 | 29 | ||
| 30 | - @unittest.expectedFailure # TODO: RUSTPYTHON; LookupError: unknown encoding: cp950 | ||
| 30 | + @unittest.expectedFailureIf(__import__("sys").platform in ("android", "darwin", "linux"), "TODO: RUSTPYTHON; LookupError: unknown encoding: cp950") | ||
| 31 | 31 | def test_errorhandle(self): | |
| 32 | 32 | return super().test_errorhandle() | |
| 33 | 33 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2173,6 +2173,7 @@ def test_string_concatenation(self): | |||
| 2173 | 2173 | # Two string literals on the same line | |
| 2174 | 2174 | self.check_roundtrip("'' ''") | |
| 2175 | 2175 | ||
| 2176 | + @unittest.skipIf(support.is_resource_enabled("cpu") and __import__("sys").platform == "win32", "TODO: RUSTPYTHON; Timeout after 10 minutes") | ||
| 2176 | 2177 | def test_random_files(self): | |
| 2177 | 2178 | # Test roundtrip on random python modules. | |
| 2178 | 2179 | # pass the '-ucpu' option to process the full directory. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1094,6 +1094,7 @@ def nicer_error(self): | |||
| 1094 | 1094 | f"**Subprocess Error**\n{err}" | |
| 1095 | 1095 | ) | |
| 1096 | 1096 | ||
| 1097 | + @unittest.expectedFailureIfWindows("TODO: RUSTPYTHON; FileNotFoundError: [WinError 2] No such file or directory") | ||
| 1097 | 1098 | @requires_venv_with_pip() | |
| 1098 | 1099 | @requires_resource('cpu') | |
| 1099 | 1100 | def test_with_pip(self): | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -142,6 +142,7 @@ def test_write_empty_data(self): | |||
| 142 | 142 | with ConIO('CONOUT$', 'w') as f: | |
| 143 | 143 | self.assertEqual(f.write(b''), 0) | |
| 144 | 144 | ||
| 145 | + @unittest.expectedFailureIfWindows("TODO: RUSTPYTHON") | ||
| 145 | 146 | @requires_resource('console') | |
| 146 | 147 | def test_write(self): | |
| 147 | 148 | testcases = [] | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -100,6 +100,7 @@ def test_keyword_args(self): | |||
| 100 | 100 | ||
| 101 | 101 | class PlaySoundTest(unittest.TestCase): | |
| 102 | 102 | ||
| 103 | + @unittest.expectedFailureIfWindows("TODO: RUSTPYTHON; TypeError: a bytes-like object is required, not 'str'") | ||
| 103 | 104 | def test_errors(self): | |
| 104 | 105 | self.assertRaises(TypeError, winsound.PlaySound) | |
| 105 | 106 | self.assertRaises(TypeError, winsound.PlaySound, "bad", "bad") | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -59,6 +59,7 @@ def test_wmi_query_not_select(self): | |||
| 59 | 59 | with self.assertRaises(ValueError): | |
| 60 | 60 | wmi_exec_query("not select, just in case someone tries something") | |
| 61 | 61 | ||
| 62 | + @unittest.skipIf(__import__("sys").platform == "win32", "TODO: RUSTPYTHON; Timeout after 10 minutes") | ||
| 62 | 63 | @support.requires_resource('cpu') | |
| 63 | 64 | def test_wmi_query_overflow(self): | |
| 64 | 65 | # Ensure very big queries fail | |
| Back | FazBrowse Home | New Git URL |
0 commit comments