mirror of
https://github.com/python/cpython.git
synced 2025-07-23 03:05:38 +00:00
bpo-38010 Sync importlib.metadata with importlib_metadata 0.20. (GH-15646)
Sync importlib.metadata with importlib_metadata 0.20.
This commit is contained in:
parent
1f21eaa15e
commit
102e9b40ff
4 changed files with 25 additions and 3 deletions
|
@ -109,6 +109,8 @@ class APITests(
|
|||
def test_requires_dist_info(self):
|
||||
deps = list(requires('distinfo-pkg'))
|
||||
assert deps and all(deps)
|
||||
assert 'wheel >= 1.0' in deps
|
||||
assert "pytest; extra == 'test'" in deps
|
||||
|
||||
def test_more_complex_deps_requires_text(self):
|
||||
requires = textwrap.dedent("""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue