Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
gh-149879: Fix test_httpservers on Cygwin
  • Loading branch information
vstinner committed May 25, 2026
commit 3faf644a8aea64bd2249fa62be3a25305d45b5ce
2 changes: 1 addition & 1 deletion Lib/test/test_httpservers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 + '/')
Expand Down
Loading