mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +00:00
bpo-44246: Entry points performance improvements. (GH-26467)
From importlib_metadata 4.3.1.
(cherry picked from commit 410b70d39d
)
Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
This commit is contained in:
parent
3f592c3665
commit
d1480ad2f5
3 changed files with 30 additions and 1 deletions
|
@ -76,3 +76,7 @@ class TestEgg(TestZip):
|
|||
for file in files('example'):
|
||||
path = str(file.dist.locate_file(file))
|
||||
assert '.egg/' in path, path
|
||||
|
||||
def test_normalized_name(self):
|
||||
dist = distribution('example')
|
||||
assert dist._normalized_name == 'example'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue