Home
last modified time | relevance | path

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

123

/external/python/cpython3/Lib/
Dtempfile.py215 except PermissionError:
259 except PermissionError:
371 except PermissionError:
806 if issubclass(exc_info[0], PermissionError):
822 except (IsADirectoryError, PermissionError):
Dpathlib.py428 except PermissionError:
459 except PermissionError:
484 except PermissionError:
499 except PermissionError:
Dwebbrowser.py557 … except (FileNotFoundError, subprocess.CalledProcessError, PermissionError, NotADirectoryError) :
/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/python/cpython3/Lib/test/
Dexception_hierarchy.txt37 | +-- PermissionError
Dtest_spwd.py67 with self.assertRaises(PermissionError) as cm:
Dtest_dtrace.py82 except (FileNotFoundError, NotADirectoryError, PermissionError) as fnfe:
Dtest_stat.py184 except PermissionError as e:
Dtest_shutil.py666 mock_patch.side_effect = PermissionError('ka-boom')
700 except PermissionError as e:
1167 err = PermissionError
1206 except PermissionError as e:
1242 except PermissionError as e:
1294 err = PermissionError
2158 self.assertRaises(PermissionError, shutil.move, TESTFN_SRC, TESTFN_DST)
2168 self.assertRaises(PermissionError, shutil.move, TESTFN_SRC, TESTFN_DST)
2618 except (FileNotFoundError, PermissionError,
Dtest_genericpath.py252 except PermissionError as e:
294 except PermissionError as e:
Dtest_posix.py654 except PermissionError as e:
1296 if isinstance(cm.exception, PermissionError):
1402 except PermissionError as e:
1489 except PermissionError as e:
1566 except (FileNotFoundError, PermissionError) as exc:
1694 except PermissionError as exc:
Dtest_time.py140 except PermissionError:
519 except PermissionError as err:
D_test_eintr.py325 except PermissionError as e:
Dtest_socketserver.py118 except PermissionError as e:
Dtest_unicodedata.py338 except PermissionError:
/external/python/cpython3/PCbuild/
Dget_external.py63 except PermissionError as ex:
/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/pigweed/pw_env_setup/py/pw_env_setup/virtualenv_setup/
Dinstall.py157 except PermissionError:
/external/python/cpython3/Objects/
Dexceptions.c1294 MiddlingExtendsException(PyExc_OSError, PermissionError, OSError,
2752 PRE_INIT(PermissionError); in _PyExc_Init()
2784 ADD_ERRNO(PermissionError, EACCES); in _PyExc_Init()
2785 ADD_ERRNO(PermissionError, EPERM); in _PyExc_Init()
2892 POST_INIT(PermissionError); in _PyBuiltins_AddExceptions()
/external/python/cpython3/Tools/c-analyzer/c_common/
Dfsutil.py381 except PermissionError:

123