Searched refs:PermissionError (Results 1 – 25 of 56) sorted by relevance
123
/external/python/cpython3/Lib/ |
D | tempfile.py | 209 except PermissionError: 253 except PermissionError: 362 except PermissionError: 789 if issubclass(exc_info[0], PermissionError): 805 except (IsADirectoryError, PermissionError):
|
D | pathlib.py | 520 except PermissionError: 546 except PermissionError: 571 except PermissionError: 586 except PermissionError:
|
D | site.py | 447 except (FileNotFoundError, PermissionError):
|
D | mailbox.py | 318 except (AttributeError, PermissionError): 1207 except (AttributeError, PermissionError): 2084 except (AttributeError, PermissionError):
|
/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_spwd.py | 66 with self.assertRaises(PermissionError) as cm:
|
D | test_normalization.py | 43 except PermissionError:
|
D | test_dtrace.py | 82 except (FileNotFoundError, NotADirectoryError, PermissionError) as fnfe:
|
D | test_stat.py | 176 except PermissionError as e:
|
D | test_genericpath.py | 251 except PermissionError as e: 293 except PermissionError as e:
|
D | test_posix.py | 641 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:
|
D | test_time.py | 138 except PermissionError: 517 except PermissionError as err:
|
D | test_socketserver.py | 117 except PermissionError as e:
|
D | test_shutil.py | 919 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,
|
D | test_site.py | 48 except PermissionError as exc:
|
D | test_os.py | 1078 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/ |
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/Doc/library/ |
D | spwd.rst | 59 Raises a :exc:`PermissionError` instead of :exc:`KeyError` if the user
|
/external/python/cpython3/Lib/test/test_asyncio/ |
D | test_windows_events.py | 101 with self.assertRaises(PermissionError):
|
/external/python/cpython3/Objects/ |
D | exceptions.c | 1278 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/ |
D | metadata.py | 452 NotADirectoryError, PermissionError):
|
/external/python/cpython3/Lib/test/eintrdata/ |
D | eintr_tester.py | 325 except PermissionError as e:
|
123