From 308f54b36f119c5185ed6672d03c75338573a14d Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Sat, 7 Nov 2026 19:31:25 +0100 Subject: [PATCH 1/2] gh-161430: Update skipped tests filter in regrtest Filter test_io.test_free_threading (need Free Threading) and test_io.test_winconsoleio (need Windows). --- Lib/test/libregrtest/skipped.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Lib/test/libregrtest/skipped.py b/Lib/test/libregrtest/skipped.py index 1116929a502f84..29086ececdcd3d 100644 --- a/Lib/test/libregrtest/skipped.py +++ b/Lib/test/libregrtest/skipped.py @@ -64,7 +64,10 @@ EXPECTED_SKIP.add('test_interpreters') else: # Need Free Threading build - EXPECTED_SKIP.add('test_free_threading') + EXPECTED_SKIP |= { + 'test_free_threading', + 'test_io.test_free_threading', + } if not support.has_socket_support or IS_WASI: # Need socket support @@ -178,9 +181,9 @@ 'test_asyncio.test_windows_utils', 'test_msvcrt', 'test_os.test_windows', + 'test_io.test_winconsoleio', 'test_startfile', # Need os.startfile() 'test_winapi', - 'test_winconsoleio', 'test_winreg', 'test_winsound', 'test_wmi', From dde21d7087d1e9feaf82b45067c3fdde957951fd Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Sat, 7 Nov 2026 20:58:15 +0100 Subject: [PATCH 2/2] Filter also test_io.test_file_eintr It's skipped on WASI which doesn't support subprocesses. --- Lib/test/libregrtest/skipped.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/libregrtest/skipped.py b/Lib/test/libregrtest/skipped.py index 29086ececdcd3d..67054b341c08aa 100644 --- a/Lib/test/libregrtest/skipped.py +++ b/Lib/test/libregrtest/skipped.py @@ -105,10 +105,10 @@ 'test_cmd_line', 'test_embed', 'test_faulthandler', - 'test_file_eintr', 'test_gdb', 'test_generated_cases', 'test_getopt', + 'test_io.test_file_eintr', 'test_optparse', 'test_perf_profiler', 'test_regrtest',