8000 gh-118729: Temporarily skip `test_multiprocessing_pool_circular_impor… · SonicField/cpython@d561d81 · GitHub
[go: up one dir, main page]

Skip to content

Commit d561d81

Browse files
colesburySonicField
authored andcommitted
pythongh-118729: Temporarily skip test_multiprocessing_pool_circular_import (python#118732)
The `pool_in_threads.py` test file may crash in free-threaded builds, which can lead to the Tsan test hanging. Skip it fo 8000 r now until we fix the underlying issue.
1 parent 0aa5859 commit d561d81

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Lib/test/test_importlib/test_threaded_import.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from test.support import verbose
1818
from test.support.import_helper import forget, mock_register_at_fork
1919
from test.support.os_helper import (TESTFN, unlink, rmtree)
20-
from test.support import script_helper, threading_helper
20+
from test.support import script_helper, threading_helper, requires_gil_enabled
2121

2222
threading_helper.requires_working_threading(module=True)
2323

@@ -248,6 +248,9 @@ def test_concurrent_futures_circular_import(self):
248248
'partial', 'cfimport.py')
249249
script_helper.assert_python_ok(fn)
250250

251+
# gh-118727 and gh-118729: pool_in_threads.py may crash in free-threaded
252+
# builds, which can hang the Tsan test so temporarily skip it for now.
253+
@requires_gil_enabled("gh-118727: test may crash in free-threaded builds")
251254
def test_multiprocessing_pool_circular_import(self):
252255
# Regression test for bpo-41567
253256
fn = os.path.join(os.path.dirname(__file__),

0 commit comments

Comments
 (0)
0