diff options
author | Anthony Sottile <asottile@umich.edu> | 2019-06-07 21:23:39 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2019-06-07 21:23:38 (GMT) |
commit | 65e5860fcc8ffe66f3c325d5484112f3b6540e8c (patch) | |
tree | f6ac1a596c84a7dd626d2cb5278d28bee832759c /Lib/test/test_importlib | |
parent | 03d5831a2d62c68654ec223168e574cd546efbf6 (diff) | |
download | cpython-65e5860fcc8ffe66f3c325d5484112f3b6540e8c.zip cpython-65e5860fcc8ffe66f3c325d5484112f3b6540e8c.tar.gz cpython-65e5860fcc8ffe66f3c325d5484112f3b6540e8c.tar.bz2 |
cross port importlib-metadata PR #76 (#13903)
https://gitlab.com/python-devs/importlib_metadata/merge_requests/76
Diffstat (limited to 'Lib/test/test_importlib')
-rw-r--r-- | Lib/test/test_importlib/data/example-21.12-py3-none-any.whl | bin | 1453 -> 1455 bytes | |||
-rw-r--r-- | Lib/test/test_importlib/data/example-21.12-py3.6.egg | bin | 1492 -> 1497 bytes | |||
-rw-r--r-- | Lib/test/test_importlib/test_zip.py | 2 |
3 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_importlib/data/example-21.12-py3-none-any.whl b/Lib/test/test_importlib/data/example-21.12-py3-none-any.whl Binary files differindex f92f771..641ab07 100644 --- a/Lib/test/test_importlib/data/example-21.12-py3-none-any.whl +++ b/Lib/test/test_importlib/data/example-21.12-py3-none-any.whl diff --git a/Lib/test/test_importlib/data/example-21.12-py3.6.egg b/Lib/test/test_importlib/data/example-21.12-py3.6.egg Binary files differindex 1d3f998..cdb298a 100644 --- a/Lib/test/test_importlib/data/example-21.12-py3.6.egg +++ b/Lib/test/test_importlib/data/example-21.12-py3.6.egg diff --git a/Lib/test/test_importlib/test_zip.py b/Lib/test/test_importlib/test_zip.py index db39e19..bcf7cf3 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')) |