Home
last modified time | relevance | path

Searched refs:ModuleNotFoundError (Results 1 – 25 of 32) sorted by relevance

12

/external/tensorflow/tensorflow/python/
Dpywrap_tensorflow.py58 ModuleNotFoundError
60 ModuleNotFoundError = ImportError variable
71 except ModuleNotFoundError:
/external/python/cpython3/Lib/test/test_importlib/import_/
Dtest_api.py47 with self.assertRaises(ModuleNotFoundError):
94 with self.assertRaises(ModuleNotFoundError) as cm:
Dtest___package__.py84 with self.assertRaises(ModuleNotFoundError):
Dtest_fromlist.py93 with self.assertRaises(ModuleNotFoundError) as exc:
/external/python/cpython3/Lib/test/
Dexception_hierarchy.txt17 | +-- ModuleNotFoundError
Dtest_pyclbr.py256 with self.assertRaises(ModuleNotFoundError):
Dtest_hashlib.py113 except ModuleNotFoundError as error:
/external/perfetto/src/trace_processor/python/perfetto/trace_processor/
Dloader.py87 except ModuleNotFoundError:
Dapi.py127 except ModuleNotFoundError:
/external/python/cpython3/Lib/
Dcrypt.py7 except ModuleNotFoundError:
Dpyclbr.py164 raise ModuleNotFoundError(f"no module named {fullmodule!r}", name=fullmodule)
/external/python/cpython3/Tools/peg_generator/scripts/
Dbenchmark.py13 except ModuleNotFoundError:
/external/llvm-project/lldb/test/Shell/ScriptInterpreter/Python/
Dcommand_relative_import.test18 # CHECK: ModuleNotFoundError: No module named 'magritte'
/external/python/cpython3/Lib/importlib/
D__init__.py168 raise ModuleNotFoundError(f"spec not found for the module {name!r}", name=name)
D_bootstrap.py981 raise ModuleNotFoundError(msg, name=name) from None
984 raise ModuleNotFoundError(_ERR_MSG.format(name), name=name)
1012 raise ModuleNotFoundError(message, name=name)
1059 except ModuleNotFoundError as exc:
Dutil.py98 raise ModuleNotFoundError(
Dmetadata.py37 class PackageNotFoundError(ModuleNotFoundError):
/external/python/cpython3/Lib/test/test_import/
D__init__.py76 with self.assertRaises(ModuleNotFoundError):
80 with self.assertRaises(ModuleNotFoundError):
774 self.assertRaises(ModuleNotFoundError, check_relative)
778 self.assertRaises(ModuleNotFoundError, check_relative)
/external/python/cpython3/Doc/reference/
Dimport.rst38 cannot be found, a :exc:`ModuleNotFoundError` is raised. Python implements various
169 If any of the intermediate imports fail, a :exc:`ModuleNotFoundError` is raised.
188 :exc:`ModuleNotFoundError` is raised. If the module name is missing, Python will
196 of the module to result in a :exc:`ModuleNotFoundError`.
292 a spec, then a :exc:`ModuleNotFoundError` is raised. Any other exceptions
302 be accessed, a :exc:`ModuleNotFoundError` is raised. The third argument
908 it is sufficient to raise :exc:`ModuleNotFoundError` directly from
/external/python/cpython3/Lib/test/test_importlib/
Dtest_api.py373 with self.assertRaises(ModuleNotFoundError):
Dtest_util.py529 with self.assertRaises(ModuleNotFoundError):
/external/python/cpython3/Objects/
Dexceptions.c783 MiddlingExtendsException(PyExc_ImportError, ModuleNotFoundError, ImportError,
2548 PRE_INIT(ModuleNotFoundError); in _PyExc_Init()
2683 POST_INIT(ModuleNotFoundError); in _PyBuiltins_AddExceptions()
/external/tensorflow/tensorflow/python/distribute/
Dmulti_worker_test_base.py36 except (ImportError, ModuleNotFoundError) as _error: # pylint: disable=invalid-name
/external/python/cpython3/Misc/NEWS.d/
D3.8.0a3.rst317 Raise ModuleNotFoundError in pyclbr when a module can't be found. Thanks to
/external/python/cpython3/Doc/library/
Dimportlib.rst210 :exc:`ModuleNotFoundError` is raised when the module being reloaded lacks
1508 Raises :exc:`ModuleNotFoundError` instead of :exc:`AttributeError` if
1789 raise ModuleNotFoundError(msg, name=absolute_name)

12