mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
bpo-43428: Sync with importlib_metadata 3.7. (GH-24782)
* bpo-43428: Sync with importlib_metadata 3.7.2 (67234b6) * Add blurb * Reformat blurb to create separate paragraphs for each change included.
This commit is contained in:
parent
2256a2876b
commit
f917efccf8
8 changed files with 343 additions and 43 deletions
|
@ -41,7 +41,7 @@ class TestZip(unittest.TestCase):
|
|||
version('definitely-not-installed')
|
||||
|
||||
def test_zip_entry_points(self):
|
||||
scripts = dict(entry_points()['console_scripts'])
|
||||
scripts = entry_points(group='console_scripts')
|
||||
entry_point = scripts['example']
|
||||
self.assertEqual(entry_point.value, 'example:main')
|
||||
entry_point = scripts['Example']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue