https://github.com/python/cpython/commit/989ece60ab880f5f5c774a81b358db02950bbe1d
commit: 989ece60ab880f5f5c774a81b358db02950bbe1d
branch: main
author: Victor Stinner <[email protected]>
committer: vstinner <[email protected]>
date: 2026-11-07T22:35:26+01:00
summary:

gh-161430: Update skipped tests filter in regrtest (#161572)

Filter test_io.test_free_threading (need Free Threading),
test_io.test_winconsoleio (need Windows),
and test_io.test_file_eintr (need subprocess).

files:
M Lib/test/libregrtest/skipped.py

diff --git a/Lib/test/libregrtest/skipped.py b/Lib/test/libregrtest/skipped.py
index 8553b46f10d37e..45ecbb94d66f8d 100644
--- a/Lib/test/libregrtest/skipped.py
+++ b/Lib/test/libregrtest/skipped.py
@@ -65,7 +65,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
@@ -103,10 +106,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',
@@ -179,9 +182,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',

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to