Searched refs:PermissionError (Results 1 – 25 of 53) sorted by relevance
123
/external/chromium-trace/catapult/common/py_utils/py_utils/ |
D | cloud_storage.py | 78 class PermissionError(CloudStorageError): class 81 super(PermissionError, self).__init__( 173 return PermissionError()
|
D | cloud_storage_unittest.py | 76 self._AssertRunCommandRaisesError(strs, cloud_storage.PermissionError) 387 'chrome-telemetry'), cloud_storage.PermissionError)
|
/external/python/cpython3/Lib/test/ |
D | exception_hierarchy.txt | 37 | +-- PermissionError
|
D | test_normalization.py | 43 except PermissionError:
|
D | test_spwd.py | 66 with self.assertRaises(PermissionError) as cm:
|
D | test_dtrace.py | 82 except (FileNotFoundError, NotADirectoryError, PermissionError) as fnfe:
|
D | test_stat.py | 174 except PermissionError as e:
|
D | test_genericpath.py | 231 except PermissionError as e: 273 except PermissionError as e:
|
D | test_shutil.py | 766 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,
|
D | test_time.py | 141 except PermissionError: 525 except PermissionError as err:
|
D | test_socketserver.py | 117 except PermissionError as e:
|
D | test_posix.py | 631 except PermissionError as e: 1147 except PermissionError as e: 1259 except PermissionError as e:
|
D | test_os.py | 931 except PermissionError: 1184 except PermissionError: 1269 with self.assertRaises(PermissionError): 1777 except PermissionError as e: 3068 PermissionError): 3429 except PermissionError as e:
|
D | test_site.py | 48 except PermissionError as exc:
|
/external/chromium-trace/catapult/dependency_manager/dependency_manager/ |
D | cloud_storage_info_unittest.py | 227 cs_get_mock.side_effect = cloud_storage.PermissionError 228 self.assertRaises(cloud_storage.PermissionError,
|
D | dependency_manager_unittest.py | 474 cs_path_mock.side_effect = cloud_storage.PermissionError 475 self.assertRaises(cloud_storage.PermissionError,
|
/external/python/cpython3/Lib/ |
D | tempfile.py | 218 except PermissionError: 261 except PermissionError: 369 except PermissionError:
|
D | pathlib.py | 506 except PermissionError: 528 except PermissionError: 553 except PermissionError: 568 except PermissionError:
|
D | site.py | 446 except (FileNotFoundError, PermissionError):
|
D | mailbox.py | 318 except (AttributeError, PermissionError): 1207 except (AttributeError, PermissionError): 2084 except (AttributeError, PermissionError):
|
/external/python/cpython3/Doc/library/ |
D | spwd.rst | 59 Raises a :exc:`PermissionError` instead of :exc:`KeyError` if the user
|
D | resource.rst | 92 :exc:`PermissionError` when the user doesn't have ``CAP_SYS_RESOURCE`` for
|
/external/python/cpython3/Lib/test/test_asyncio/ |
D | test_windows_events.py | 51 with self.assertRaises(PermissionError):
|
/external/python/cpython3/Objects/ |
D | exceptions.c | 1261 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/ |
D | eintr_tester.py | 328 except PermissionError as e:
|
123