Searched refs:PermissionError (Results 1 – 25 of 67) sorted by relevance
123
/external/python/cpython3/Lib/ |
D | tempfile.py | 215 except PermissionError: 259 except PermissionError: 371 except PermissionError: 806 if issubclass(exc_info[0], PermissionError): 822 except (IsADirectoryError, PermissionError):
|
D | pathlib.py | 428 except PermissionError: 459 except PermissionError: 484 except PermissionError: 499 except PermissionError:
|
D | webbrowser.py | 557 … except (FileNotFoundError, subprocess.CalledProcessError, PermissionError, NotADirectoryError) :
|
/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) 432 'chrome-telemetry'), cloud_storage.PermissionError)
|
/external/python/cpython3/Lib/test/ |
D | exception_hierarchy.txt | 37 | +-- PermissionError
|
D | test_spwd.py | 67 with self.assertRaises(PermissionError) as cm:
|
D | test_dtrace.py | 82 except (FileNotFoundError, NotADirectoryError, PermissionError) as fnfe:
|
D | test_stat.py | 184 except PermissionError as e:
|
D | test_shutil.py | 666 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,
|
D | test_genericpath.py | 252 except PermissionError as e: 294 except PermissionError as e:
|
D | test_posix.py | 654 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:
|
D | test_time.py | 140 except PermissionError: 519 except PermissionError as err:
|
D | _test_eintr.py | 325 except PermissionError as e:
|
D | test_socketserver.py | 118 except PermissionError as e:
|
D | test_unicodedata.py | 338 except PermissionError:
|
/external/python/cpython3/PCbuild/ |
D | get_external.py | 63 except PermissionError as ex:
|
/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/support/ |
D | socket_helper.py | 120 except PermissionError:
|
/external/python/cpython3/Lib/test/test_asyncio/ |
D | test_windows_events.py | 101 with self.assertRaises(PermissionError):
|
/external/pigweed/pw_env_setup/py/pw_env_setup/virtualenv_setup/ |
D | install.py | 157 except PermissionError:
|
/external/python/cpython3/Objects/ |
D | exceptions.c | 1294 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/ |
D | fsutil.py | 381 except PermissionError:
|
123