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

Method test_failure

Lib/test/test_importlib/frozen/test_finder.py:162–164  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

160 self.assertEqual(spec, actual)
161
162 def test_failure(self):
163 spec = self.find('<not real>')
164 self.assertIsNone(spec)
165
166 def test_not_using_frozen(self):
167 finder = self.machinery.FrozenImporter

Callers

nothing calls this directly

Calls 2

findMethod · 0.95
assertIsNoneMethod · 0.80

Tested by

no test coverage detected