-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
Closed
Labels
3.11only security fixesonly security fixes3.12only security fixesonly security fixes3.13bugs and security fixesbugs and security fixestestsTests in the Lib/test dirTests in the Lib/test dir
Description
test.support.os_support.can_chmod()
tests for hasattr(os, "chown")
instead of hasattr(os, "chmod")
. This, and also the fact that it tests bits not supported on Windows, makes it always returning False on Windows. It may make some meaningful tests skipped on Windows and prevents of using it in new tests for os.chmod()
.
Linked PRs
Metadata
Metadata
Assignees
Labels
3.11only security fixesonly security fixes3.12only security fixesonly security fixes3.13bugs and security fixesbugs and security fixestestsTests in the Lib/test dirTests in the Lib/test dir