Home
last modified time | relevance | path

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

123

/external/python/cpython3/Lib/importlib/
Dresources.py82 raise FileNotFoundError(f'Package has no location {package!r}')
111 raise FileNotFoundError(message)
145 raise FileNotFoundError(message)
190 except FileNotFoundError:
214 except FileNotFoundError:
230 except (NotADirectoryError, FileNotFoundError):
285 raise FileNotFoundError(path)
291 raise FileNotFoundError
Dabc.py363 raise FileNotFoundError
375 raise FileNotFoundError
380 raise FileNotFoundError
D_bootstrap_external.py933 raise FileNotFoundError
1214 except FileNotFoundError:
1409 except (FileNotFoundError, PermissionError, NotADirectoryError):
/external/python/cpython3/Lib/test/test_importlib/
Dtest_resource.py148 FileNotFoundError,
152 FileNotFoundError,
156 FileNotFoundError,
160 FileNotFoundError,
Dtest_open.py53 FileNotFoundError,
58 FileNotFoundError,
Dutil.py503 package = create_package(file=bytes_data, path=FileNotFoundError())
516 package = create_package(file=FileNotFoundError(),
517 path=FileNotFoundError())
518 with self.assertRaises(FileNotFoundError):
Dtest_abc.py328 with self.assertRaises(FileNotFoundError):
332 with self.assertRaises(FileNotFoundError):
336 with self.assertRaises(FileNotFoundError):
/external/chromium-trace/catapult/dependency_manager/dependency_manager/
Dexceptions.py27 class FileNotFoundError(Exception): class
29 super(FileNotFoundError, self).__init__('No file found at %s' % file_path)
D__init__.py36 from .exceptions import FileNotFoundError
Dcloud_storage_info.py82 raise exceptions.FileNotFoundError(dependency_path)
/external/python/cpython3/Lib/test/
Dtest_netrc.py136 self.assertRaises(FileNotFoundError, netrc.netrc)
139 self.assertRaises(FileNotFoundError, netrc.netrc,
Dtest_unicode_file_functions.py85 expected_exception=FileNotFoundError,
108 _listdir_failure = NotADirectoryError, FileNotFoundError
Dtest_exception_hierarchy.py105 except FileNotFoundError:
114 except FileNotFoundError:
Dexception_hierarchy.txt33 | +-- FileNotFoundError
Dtest_dtrace.py82 except (FileNotFoundError, NotADirectoryError, PermissionError) as fnfe:
Dtest_imghdr.py112 with self.assertRaises(FileNotFoundError):
Dtest_tempfile.py278 with self.assertRaises(FileNotFoundError):
289 with self.assertRaises(FileNotFoundError):
346 with self.assertRaises(FileNotFoundError):
354 with self.assertRaises((NotADirectoryError, FileNotFoundError)):
1320 with self.assertRaises(FileNotFoundError) as cm:
Dtest_os.py216 self.assertRaises(FileNotFoundError, os.stat, support.TESTFN)
389 except FileNotFoundError:
1631 except FileNotFoundError:
2245 except FileNotFoundError:
2255 except FileNotFoundError:
3067 except (FileNotFoundError, subprocess.CalledProcessError,
3516 self.assertRaises(FileNotFoundError, entry.inode)
3522 self.assertRaises(FileNotFoundError, entry.stat)
3523 self.assertRaises(FileNotFoundError, entry.stat, follow_symlinks=False)
3535 self.assertRaises(FileNotFoundError, entry.inode)
[all …]
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_windows_events.py62 with self.assertRaises(FileNotFoundError):
91 with self.assertRaises(FileNotFoundError):
/external/python/cpython3/Mac/BuildScript/resources/
Dinstall_certificates.command38 except FileNotFoundError:
/external/python/cpython3/PCbuild/
Dprepare_ssl.py136 except FileNotFoundError:
/external/python/cpython2/PCbuild/
Dprepare_ssl.py144 except FileNotFoundError:
/external/python/cpython3/Doc/library/
Dreadline.rst305 except FileNotFoundError:
324 except FileNotFoundError:
353 except FileNotFoundError:
Dnetrc.rst25 a :exc:`FileNotFoundError` exception will be raised.
/external/python/cpython3/Lib/test/support/
D__init__.py420 except (FileNotFoundError, NotADirectoryError):
426 except FileNotFoundError:
432 except FileNotFoundError:
2485 except FileNotFoundError:
2796 except FileNotFoundError:

123