From: Sam Gross Date: Wed, 1 May 2024 21:58:22 +0000 (-0400) Subject: gh-118413: Temporarily skip `test_release_task_refs` in free-threaded builds (#118491) X-Git-Tag: v3.13.0b1~168 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c408c36e9b346f9f15a34e98a5596f311df65efa;p=thirdparty%2FPython%2Fcpython.git gh-118413: Temporarily skip `test_release_task_refs` in free-threaded builds (#118491) --- diff --git a/Lib/test/_test_multiprocessing.py b/Lib/test/_test_multiprocessing.py index a74b61013c48..91f85990116e 100644 --- a/Lib/test/_test_multiprocessing.py +++ b/Lib/test/_test_multiprocessing.py @@ -2804,6 +2804,7 @@ class _TestPool(BaseTestCase): # check that we indeed waited for all jobs self.assertGreater(time.monotonic() - t_start, 0.9) + @support.requires_gil_enabled("gh-118413: test is flaky with GIL disabled") def test_release_task_refs(self): # Issue #29861: task arguments and results should not be kept # alive after we are done with them.