Searched refs:PermissionError (Results 1 – 25 of 59) sorted by relevance
123
/external/python/cpython3/Lib/ |
D | tempfile.py | 210 except PermissionError: 254 except PermissionError: 362 except PermissionError: 787 if issubclass(exc_info[0], PermissionError): 803 except (IsADirectoryError, PermissionError):
|
D | pathlib.py | 535 except PermissionError: 566 except PermissionError: 591 except PermissionError: 606 except PermissionError:
|
D | webbrowser.py | 553 … except (FileNotFoundError, subprocess.CalledProcessError, PermissionError, NotADirectoryError) :
|
D | mailbox.py | 321 except (AttributeError, PermissionError): 1210 except (AttributeError, PermissionError): 2089 except (AttributeError, 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_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: 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:
|
D | test_time.py | 138 except PermissionError: 517 except PermissionError as err:
|
D | test_socketserver.py | 116 except PermissionError as e:
|
D | test_unicodedata.py | 331 except PermissionError:
|
D | test_shutil.py | 661 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/ |
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/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/python/cpython3/Objects/ |
D | exceptions.c | 1290 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/ |
D | metadata.py | 510 NotADirectoryError, PermissionError):
|
/external/python/cpython3/Lib/test/eintrdata/ |
D | eintr_tester.py | 324 except PermissionError as e:
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.9.0b4.rst | 190 :exc:`PermissionError`.
|
123