Skip to content

Commit

Permalink
[3.11] gh-108388: Convert test_concurrent_futures to package (#108401) (
Browse files Browse the repository at this point in the history
#109704)

* gh-108388: Convert test_concurrent_futures to package (#108401)

Convert test_concurrent_futures to a package of sub-tests.

(cherry picked from commit aa6f787)

Notes on backport to 3.11:

* AsCompletedTests: Revert test_future_times_out() => test_zero_timeout()
* Restore TODO comment
* ThreadPoolExecutorTest.test_hang_global_shutdown_lock():
  add @support.requires_resource('cpu').
  • Loading branch information
vstinner committed Sep 22, 2023
1 parent 3a6d8e6 commit 66a973a
Show file tree
Hide file tree
Showing 14 changed files with 1,577 additions and 1,677 deletions.
1 change: 1 addition & 0 deletions Lib/test/libregrtest/runtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ def set_env_changed(self):

SPLITTESTDIRS = {
"test_asyncio",
"test_concurrent_futures",
"test_future_stmt",
"test_multiprocessing_fork",
"test_multiprocessing_forkserver",
Expand Down
Loading

0 comments on commit 66a973a

Please sign in to comment.