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

Method test_missing_metadata

Lib/test/test_importlib/metadata/test_zip.py:40–41  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

38 self.assertEqual(entry_point.value, 'example:main')
39
40 def test_missing_metadata(self):
41 self.assertIsNone(distribution('example').read_text('does not exist'))
42
43 def test_case_insensitive(self):
44 self.assertEqual(version('Example'), '21.12')

Callers

nothing calls this directly

Calls 3

distributionFunction · 0.90
assertIsNoneMethod · 0.80
read_textMethod · 0.45

Tested by

no test coverage detected