Skip to content

gh-149879: Fix test_concurrent_futures on Cygwin - #150415

Merged
vstinner merged 2 commits into
python:mainfrom
vstinner:concurrent_futures
May 25, 2026
Merged

vstinner merged 2 commits into
python:mainfrom
vstinner:concurrent_futures

Conversation

@vstinner

@vstinner vstinner commented May 25, 2026 •

Copy link
Copy Markdown
Member

On Cygwin, skip tests using "forkserver" start method.

On Cygwin, skip tests using "forkserver" start method.
@vstinner

Copy link
Copy Markdown
Member Author

The CI is incomplete, 3 tests are still failing:

  • test_force_shutdown_workers_stops_pool() hangs
  • FAIL: test_traceback_when_child_process_terminates_abruptly (test.test_concurrent_futures.test_process_pool.ProcessPoolForkProcessPoolExecutorTest.test_traceback_when_child_process_terminates_abruptly)
  • FAIL: test_traceback_when_child_process_terminates_abruptly (test.test_concurrent_futures.test_process_pool.ProcessPoolSpawnProcessPoolExecutorTest.test_traceback_when_child_process_terminates_abruptly)
On Cygwin, the cause is not set.
@vstinner

Copy link
Copy Markdown
Member Author

test_traceback_when_child_process_terminates_abruptly

I modified the test to skip the check on Cygwin.

@vstinner
vstinner merged commit 5cb54c9 into python:main May 25, 2026
45 checks passed
@vstinner
vstinner deleted the concurrent_futures branch May 25, 2026 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

1 participant