Commit 608b7f6
committed
gh-98758: Skip permission-denied test on Windows
os.chmod() on Windows can only toggle the read-only attribute, not
actually restrict read access, so chmod(path, 0) followed by
open(path, 'rb') still succeeds there -- the test's premise doesn't
hold on that platform.1 parent 80bbc49 commit 608b7f6
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2277 | 2277 | | |
2278 | 2278 | | |
2279 | 2279 | | |
| 2280 | + | |
| 2281 | + | |
| 2282 | + | |
2280 | 2283 | | |
2281 | 2284 | | |
2282 | 2285 | | |
| |||
0 commit comments