aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_importlib/test_zip.py
diff options
context:
space:
mode:
authorAnthony Sottile <asottile@umich.edu>2019-06-07 14:23:39 -0700
committerBarry Warsaw <barry@python.org>2019-06-07 14:23:38 -0700
commit65e5860fcc8ffe66f3c325d5484112f3b6540e8c (patch)
treef6ac1a596c84a7dd626d2cb5278d28bee832759c /Lib/test/test_importlib/test_zip.py
parent03d5831a2d62c68654ec223168e574cd546efbf6 (diff)
downloadcpython-65e5860fcc8ffe66f3c325d5484112f3b6540e8c.tar.gz
cpython-65e5860fcc8ffe66f3c325d5484112f3b6540e8c.zip
cross port importlib-metadata PR #76 (#13903)
https://gitlab.com/python-devs/importlib_metadata/merge_requests/76
Diffstat (limited to 'Lib/test/test_importlib/test_zip.py')
-rw-r--r--Lib/test/test_importlib/test_zip.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_importlib/test_zip.py b/Lib/test/test_importlib/test_zip.py
index db39e190ea7..bcf7cf3618d 100644
--- a/Lib/test/test_importlib/test_zip.py
+++ b/Lib/test/test_importlib/test_zip.py
@@ -26,6 +26,8 @@ class TestZip(unittest.TestCase):
scripts = dict(entry_points()['console_scripts'])
entry_point = scripts['example']
self.assertEqual(entry_point.value, 'example:main')
+ entry_point = scripts['Example']
+ self.assertEqual(entry_point.value, 'example:main')
def test_missing_metadata(self):
self.assertIsNone(distribution('example').read_text('does not exist'))