summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_importlib
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2021-05-31 15:52:29 (GMT)
committerGitHub <noreply@github.com>2021-05-31 15:52:29 (GMT)
commit410b70d39d9d77384f8b8597560f6731530149ca (patch)
treeffe2cf91cc5f80bc9b81acc951dd315459bbb0d3 /Lib/test/test_importlib
parent142e5c5445c019542246d93fe2f9e195d3131686 (diff)
downloadcpython-410b70d39d9d77384f8b8597560f6731530149ca.zip
cpython-410b70d39d9d77384f8b8597560f6731530149ca.tar.gz
cpython-410b70d39d9d77384f8b8597560f6731530149ca.tar.bz2
bpo-44246: Entry points performance improvements. (GH-26467)
From importlib_metadata 4.3.1.
Diffstat (limited to 'Lib/test/test_importlib')
-rw-r--r--Lib/test/test_importlib/test_zip.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_importlib/test_zip.py b/Lib/test/test_importlib/test_zip.py
index 83e0413..bf16a3b 100644
--- a/Lib/test/test_importlib/test_zip.py
+++ b/Lib/test/test_importlib/test_zip.py
@@ -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'