Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Lib/test/test_concurrent_futures/test_process_pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ def test_saturation(self):
for _ in range(job_count):
sem.release()

@unittest.skipIf(support.Py_GIL_DISABLED, "gh-117344: test is flaky without the GIL")
def test_idle_process_reuse_one(self):
executor = self.executor
assert executor._max_workers >= 4
Expand Down
1 change: 1 addition & 0 deletions Lib/test/test_concurrent_futures/test_thread_pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def acquire_lock(lock):
sem.release()
executor.shutdown(wait=True)

@unittest.skipIf(support.Py_GIL_DISABLED, "gh-117344: test is flaky without the GIL")
def test_idle_thread_reuse(self):
executor = self.executor_type()
executor.submit(mul, 21, 2).result()
Expand Down