Home
last modified time | relevance | path

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

123

/external/python/cpython3/Lib/
Dtempfile.py210 except PermissionError:
254 except PermissionError:
362 except PermissionError:
787 if issubclass(exc_info[0], PermissionError):
803 except (IsADirectoryError, PermissionError):
Dpathlib.py535 except PermissionError:
566 except PermissionError:
591 except PermissionError:
606 except PermissionError:
Dwebbrowser.py553 … except (FileNotFoundError, subprocess.CalledProcessError, PermissionError, NotADirectoryError) :
Dmailbox.py321 except (AttributeError, PermissionError):
1210 except (AttributeError, PermissionError):
2089 except (AttributeError, PermissionError):
/external/python/cpython3/Lib/test/
Dexception_hierarchy.txt37 | +-- PermissionError
Dtest_spwd.py66 with self.assertRaises(PermissionError) as cm:
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:
1149 except PermissionError as e:
1271 except PermissionError as e:
1478 if isinstance(cm.exception, PermissionError):
1554 except (FileNotFoundError, PermissionError) as exc:
1682 except PermissionError as exc:
Dtest_time.py138 except PermissionError:
517 except PermissionError as err:
Dtest_socketserver.py116 except PermissionError as e:
Dtest_unicodedata.py331 except PermissionError:
Dtest_shutil.py661 mock_patch.side_effect = PermissionError('ka-boom')
693 except PermissionError as e:
1177 except PermissionError as e:
1211 except PermissionError as e:
2525 except (FileNotFoundError, 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)
432 'chrome-telemetry'), cloud_storage.PermissionError)
/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/support/
Dsocket_helper.py120 except PermissionError:
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_windows_events.py101 with self.assertRaises(PermissionError):
/external/python/cpython3/Objects/
Dexceptions.c1290 MiddlingExtendsException(PyExc_OSError, PermissionError, OSError,
2603 PRE_INIT(PermissionError); in _PyExc_Init()
2636 ADD_ERRNO(PermissionError, EACCES); in _PyExc_Init()
2637 ADD_ERRNO(PermissionError, EPERM); in _PyExc_Init()
2743 POST_INIT(PermissionError); in _PyBuiltins_AddExceptions()
/external/python/cpython3/Lib/importlib/
Dmetadata.py510 NotADirectoryError, PermissionError):
/external/python/cpython3/Lib/test/eintrdata/
Deintr_tester.py324 except PermissionError as e:
/external/python/cpython3/Misc/NEWS.d/
D3.9.0b4.rst190 :exc:`PermissionError`.

123