From 3faf644a8aea64bd2249fa62be3a25305d45b5ce Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Mon, 25 May 2026 19:46:05 +0200 Subject: [PATCH] gh-149879: Fix test_httpservers on Cygwin --- Lib/test/test_httpservers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_httpservers.py b/Lib/test/test_httpservers.py index 574529c70741d8f..d4ae032610a91e2 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 + '/')