MCPcopy Index your code
hub / github.com/python/cpython / test_failure

Method test_failure

Lib/test/test_importlib/builtin/test_finder.py:33–37  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

31 test_package_over_module = None
32
33 def test_failure(self):
34 name = 'importlib'
35 assert name not in sys.builtin_module_names
36 spec = self.machinery.BuiltinImporter.find_spec(name)
37 self.assertIsNone(spec)
38
39
40(Frozen_FindSpecTests,

Callers

nothing calls this directly

Calls 2

assertIsNoneMethod · 0.80
find_specMethod · 0.45

Tested by

no test coverage detected