def test_makedirs(): with tempfile.TemporaryDirectory() as tempdir: create_dir = os.path.join(tempdir, 'a') makedirs(create_dir, mode=0o767, mode_base=tempdir) assert_file_mode(create_dir, 0o767)
def test_makedirs(): with tempfile.TemporaryDirectory() as tempdir: create_dir = os.path.join(tempdir, 'a') makedirs(create_dir, mode=0o767, mode_base=tempdir) assert_file_mode(create_dir, 0o767)