Closed
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()
.