Skip to content

Commit 6eff26b

Browse files
committed
pythongh-115258: Temporarily disable test on free-threaded Windows build
The "test_shutdown_all_methods_in_many_threads" test times out on the Windows free-threaded CI. This skips the test on that platform and configuration until we figure out the root cause.
1 parent 4821f08 commit 6eff26b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Lib/test/test_queue.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
from test.support import gc_collect
1010
from test.support import import_helper
1111
from test.support import threading_helper
12+
from test.support import Py_GIL_DISABLED
1213

1314
# queue module depends on threading primitives
1415
threading_helper.requires_working_threading(module=True)
@@ -402,6 +403,8 @@ def _shutdown_all_methods_in_many_threads(self, immediate):
402403
for thread in ps[1:]:
403404
thread.join()
404405

406+
@unittest.skipIf(sys.platform == 'win32' and Py_GIL_DISABLED,
407+
"test times out (gh-115258)")
405408
def test_shutdown_all_methods_in_many_threads(self):
406409
return self._shutdown_all_methods_in_many_threads(False)
407410

0 commit comments

Comments
 (0)