Skip to content

gh-149879: Fix test_asyncio on Cygwin - #150416

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

vstinner merged 2 commits into
python:mainfrom
vstinner:test_asyncio

Conversation

@vstinner

@vstinner vstinner commented May 25, 2026 •

Copy link
Copy Markdown
Member

Skip tests on UNIX sockets since they hang on Cygwin.

Skip tests on UNIX sockets since they hang on Cygwin.
@vstinner

Copy link
Copy Markdown
Member Author

The fix is incomplete, the following tests still fail:

test_asyncio.test_events
    test_ssl_connect_accepted_socket()
    test_subprocess_kill()
    test_subprocess_terminate()
    test_subprocess_send_signal()
    test_subprocess_stderr()
    test_subprocess_stderr_redirect_to_stdout()

test_asyncio.test_ssl
    test_remote_shutdown_receives_trailing_data_on_slow_socket()

test_asyncio.test_subprocess
    test_cancel_post_init()
@vstinner

Copy link
Copy Markdown
Member Author

I found a fix for subprocess tests (use a socketpair for stdin).

test_remote_shutdown_receives_trailing_data_on_slow_socket() stil hangs. It can be fixed later.

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

1 participant