https://github.com/python/cpython/commit/71fa31454ec2427d25dfb74e8b765e90308cb5f6
commit: 71fa31454ec2427d25dfb74e8b765e90308cb5f6
branch: main
author: Victor Stinner <[email protected]>
committer: vstinner <[email protected]>
date: 2026-05-25T19:50:35Z
summary:
gh-149879: Fix test_httpservers on Cygwin (#150417)
files:
M Lib/test/test_httpservers.py
diff --git a/Lib/test/test_httpservers.py b/Lib/test/test_httpservers.py
index 574529c70741d8..d4ae032610a91e 100644
--- a/Lib/test/test_httpservers.py
+++ b/Lib/test/test_httpservers.py
@@ -824,7 +824,7 @@ def test_get(self):
# chmod() doesn't work as expected on Windows, and filesystem
# permissions are ignored by root on Unix.
- if os.name == 'posix' and os.geteuid() != 0:
+ if os.name == 'posix' and os.geteuid() != 0 and sys.platform !=
'cygwin':
os.chmod(self.tempdir, 0)
try:
response = self.request(self.base_url + '/')
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]