We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cf6ef4 commit 71fa314Copy full SHA for 71fa314
1 file changed
Lib/test/test_httpservers.py
@@ -824,7 +824,7 @@ def test_get(self):
824
825
# chmod() doesn't work as expected on Windows, and filesystem
826
# permissions are ignored by root on Unix.
827
- if os.name == 'posix' and os.geteuid() != 0:
+ if os.name == 'posix' and os.geteuid() != 0 and sys.platform != 'cygwin':
828
os.chmod(self.tempdir, 0)
829
try:
830
response = self.request(self.base_url + '/')
0 commit comments