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

gh-149879: Fix test_asyncio on Cygwin#150416
vstinner merged 2 commits into
python:mainfrom
vstinner:test_asyncio

Conversation

@vstinner
Copy link
Copy Markdown
Member

@vstinner vstinner commented May 25, 2026

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
49 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant