diff options
author | Anthony Sottile <asottile@umich.edu> | 2019-06-07 14:23:39 -0700 |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2019-06-07 14:23:38 -0700 |
commit | 65e5860fcc8ffe66f3c325d5484112f3b6540e8c (patch) | |
tree | f6ac1a596c84a7dd626d2cb5278d28bee832759c /Lib/test/test_importlib/test_zip.py | |
parent | 03d5831a2d62c68654ec223168e574cd546efbf6 (diff) | |
download | cpython-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.py | 2 |
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')) |