diff options
| author | Martin Panter <vadmium+py@gmail.com> | 2015-11-20 02:35:46 (GMT) |
|---|---|---|
| committer | Martin Panter <vadmium+py@gmail.com> | 2015-11-20 02:35:46 (GMT) |
| commit | 97cabb9fa5bd257aceae724f4727fe54580c4e9f (patch) | |
| tree | 59a53473befbf2d38f98e0a0ff0fd634666230d2 /Lib/test/test_os.py | |
| parent | 82f9feaf1054599fdb37c6c414c7ec2e107ec2da (diff) | |
| parent | a82642f9dbdff5253f40d4acee0cbb27aaf34462 (diff) | |
| download | cpython-97cabb9fa5bd257aceae724f4727fe54580c4e9f.zip cpython-97cabb9fa5bd257aceae724f4727fe54580c4e9f.tar.gz cpython-97cabb9fa5bd257aceae724f4727fe54580c4e9f.tar.bz2 | |
Issue #25583: Merge makedirs fix from 3.4 into 3.5
Diffstat (limited to 'Lib/test/test_os.py')
| -rw-r--r-- | Lib/test/test_os.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index 1e67e7a..618c18a 100644 --- a/Lib/test/test_os.py +++ b/Lib/test/test_os.py @@ -1040,6 +1040,9 @@ class MakedirTests(unittest.TestCase): os.makedirs(path, mode=mode, exist_ok=True) os.umask(old_mask) + # Issue #25583: A drive root could raise PermissionError on Windows + os.makedirs(os.path.abspath('/'), exist_ok=True) + def test_exist_ok_s_isgid_directory(self): path = os.path.join(support.TESTFN, 'dir1') S_ISGID = stat.S_ISGID |
