Home
last modified time | relevance | path

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

123

/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_normalization.py43 except PermissionError:
Dtest_spwd.py66 with self.assertRaises(PermissionError) as cm:
Dtest_dtrace.py82 except (FileNotFoundError, NotADirectoryError, PermissionError) as fnfe:
Dtest_stat.py174 except PermissionError as e:
Dtest_genericpath.py231 except PermissionError as e:
273 except PermissionError as e:
Dtest_shutil.py766 mock_patch.side_effect = PermissionError('ka-boom')
782 except PermissionError as e:
830 except PermissionError as e:
850 except PermissionError as e:
1880 except (FileNotFoundError, PermissionError,
Dtest_time.py141 except PermissionError:
525 except PermissionError as err:
Dtest_socketserver.py117 except PermissionError as e:
Dtest_posix.py631 except PermissionError as e:
1147 except PermissionError as e:
1259 except PermissionError as e:
Dtest_os.py931 except PermissionError:
1184 except PermissionError:
1269 with self.assertRaises(PermissionError):
1777 except PermissionError as e:
3068 PermissionError):
3429 except PermissionError as e:
Dtest_site.py48 except PermissionError as exc:
/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/Lib/
Dtempfile.py218 except PermissionError:
261 except PermissionError:
369 except PermissionError:
Dpathlib.py506 except PermissionError:
528 except PermissionError:
553 except PermissionError:
568 except PermissionError:
Dsite.py446 except (FileNotFoundError, PermissionError):
Dmailbox.py318 except (AttributeError, PermissionError):
1207 except (AttributeError, PermissionError):
2084 except (AttributeError, PermissionError):
/external/python/cpython3/Doc/library/
Dspwd.rst59 Raises a :exc:`PermissionError` instead of :exc:`KeyError` if the user
Dresource.rst92 :exc:`PermissionError` when the user doesn't have ``CAP_SYS_RESOURCE`` for
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_windows_events.py51 with self.assertRaises(PermissionError):
/external/python/cpython3/Objects/
Dexceptions.c1261 MiddlingExtendsException(PyExc_OSError, PermissionError, OSError,
2570 PRE_INIT(PermissionError) in _PyExc_Init()
2670 POST_INIT(PermissionError) in _PyExc_Init()
2671 ADD_ERRNO(PermissionError, EACCES) in _PyExc_Init()
2672 ADD_ERRNO(PermissionError, EPERM) in _PyExc_Init()
/external/python/cpython3/Lib/test/eintrdata/
Deintr_tester.py328 except PermissionError as e:

123