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

Method test_zip_entry_points

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

Source from the content-addressed store, hash-verified

31 version('definitely-not-installed')
32
33 def test_zip_entry_points(self):
34 scripts = entry_points(group='console_scripts')
35 entry_point = scripts['example']
36 self.assertEqual(entry_point.value, 'example:main')
37 entry_point = scripts['Example']
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'))

Callers

nothing calls this directly

Calls 2

entry_pointsFunction · 0.90
assertEqualMethod · 0.45

Tested by

no test coverage detected