Skip to content

gh-149879: Fix test_ftplib on Cygwin#150431

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:test_ftplib
May 25, 2026
Merged

gh-149879: Fix test_ftplib on Cygwin#150431
vstinner merged 1 commit into
python:mainfrom
vstinner:test_ftplib

Conversation

@vstinner
Copy link
Copy Markdown
Member

@vstinner vstinner commented May 25, 2026

Skip test_abort() since MSG_OOB doesn't work properly on Cygwin. The server gets b'\n' and then b'ABOR\r', instead of getting b'ABOR\r\n'.

Skip test_abort() since MSG_OOB doesn't work properly on Cygwin. The
server gets b'\n' and then b'ABOR\r', instead of getting b'ABOR\r\n'.
@vstinner vstinner requested a review from giampaolo as a code owner May 25, 2026 21:34
@bedevere-app bedevere-app Bot added tests Tests in the Lib/test dir awaiting core review labels May 25, 2026
@vstinner
Copy link
Copy Markdown
Member Author

I found a reference to MSG_OOB in Cygwin in 2018 with this fix: https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=9c84bfd47922aad4881f80243320422b621c95dc. Well, it's supposed to be fixed.

Copy link
Copy Markdown
Contributor

@giampaolo giampaolo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vstinner vstinner merged commit 5ab1e86 into python:main May 25, 2026
59 checks passed
@vstinner vstinner deleted the test_ftplib branch May 25, 2026 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants