Home
last modified time | relevance | path

Searched refs:PermissionError (Results 1 – 25 of 56) sorted by relevance

123

/external/python/cpython3/Lib/
Dtempfile.py209 except PermissionError:
253 except PermissionError:
362 except PermissionError:
789 if issubclass(exc_info[0], PermissionError):
805 except (IsADirectoryError, PermissionError):
Dpathlib.py520 except PermissionError:
546 except PermissionError:
571 except PermissionError:
586 except PermissionError:
Dsite.py447 except (FileNotFoundError, PermissionError):
Dmailbox.py318 except (AttributeError, PermissionError):
1207 except (AttributeError, PermissionError):
2084 except (AttributeError, PermissionError):
/external/chromium-trace/catapult/common/py_utils/py_utils/
Dcloud_storage.py78 class PermissionError(CloudStorageError): class
81 super(PermissionError, self).__init__(
173 return PermissionError()
Dcloud_storage_unittest.py76 self._AssertRunCommandRaisesError(strs, cloud_storage.PermissionError)
387 'chrome-telemetry'), cloud_storage.PermissionError)
/external/python/cpython3/Lib/test/
Dexception_hierarchy.txt37 | +-- PermissionError
Dtest_spwd.py66 with self.assertRaises(PermissionError) as cm:
Dtest_normalization.py43 except PermissionError:
Dtest_dtrace.py82 except (FileNotFoundError, NotADirectoryError, PermissionError) as fnfe:
Dtest_stat.py176 except PermissionError as e:
Dtest_genericpath.py251 except PermissionError as e:
293 except PermissionError as e:
Dtest_posix.py641 except PermissionError as e:
1150 except PermissionError as e:
1262 except PermissionError as e:
1534 except (FileNotFoundError, PermissionError) as exc:
1662 except PermissionError as exc:
Dtest_time.py138 except PermissionError:
517 except PermissionError as err:
Dtest_socketserver.py117 except PermissionError as e:
Dtest_shutil.py919 mock_patch.side_effect = PermissionError('ka-boom')
953 except PermissionError as e:
1015 except PermissionError as e:
1035 except PermissionError as e:
2468 except (FileNotFoundError, PermissionError,
Dtest_site.py48 except PermissionError as exc:
Dtest_os.py1078 except PermissionError:
1356 except PermissionError:
1446 with self.assertRaises(PermissionError):
1957 except PermissionError as e:
3323 PermissionError):
3712 except PermissionError as e:
/external/chromium-trace/catapult/dependency_manager/dependency_manager/
Dcloud_storage_info_unittest.py227 cs_get_mock.side_effect = cloud_storage.PermissionError
228 self.assertRaises(cloud_storage.PermissionError,
Ddependency_manager_unittest.py474 cs_path_mock.side_effect = cloud_storage.PermissionError
475 self.assertRaises(cloud_storage.PermissionError,
/external/python/cpython3/Doc/library/
Dspwd.rst59 Raises a :exc:`PermissionError` instead of :exc:`KeyError` if the user
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_windows_events.py101 with self.assertRaises(PermissionError):
/external/python/cpython3/Objects/
Dexceptions.c1278 MiddlingExtendsException(PyExc_OSError, PermissionError, OSError,
2579 PRE_INIT(PermissionError); in _PyExc_Init()
2612 ADD_ERRNO(PermissionError, EACCES); in _PyExc_Init()
2613 ADD_ERRNO(PermissionError, EPERM); in _PyExc_Init()
2719 POST_INIT(PermissionError); in _PyBuiltins_AddExceptions()
/external/python/cpython3/Lib/importlib/
Dmetadata.py452 NotADirectoryError, PermissionError):
/external/python/cpython3/Lib/test/eintrdata/
Deintr_tester.py325 except PermissionError as e:

123