diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2021-10-22 12:44:53 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2021-10-22 12:44:53 -0400 |
commit | 6fc5d3099898fc3d06bcf72f1f6607d02124d60f (patch) | |
tree | c3d88a729e9e8f7d89ab6653582df9a6eb55bd88 /setuptools/tests/test_packageindex.py | |
parent | a9d3576584cd9a91734dae6473ab6c3253f09f64 (diff) | |
download | python-setuptools-git-6fc5d3099898fc3d06bcf72f1f6607d02124d60f.tar.gz |
Update test_egg_fragment to include a name with a dash in it. Expand on interpret_distro_name to be a tiny bit smarter about inferring the pivot separating name and version.
Diffstat (limited to 'setuptools/tests/test_packageindex.py')
-rw-r--r-- | setuptools/tests/test_packageindex.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/tests/test_packageindex.py b/setuptools/tests/test_packageindex.py index 8e9435ef..5f09e1bd 100644 --- a/setuptools/tests/test_packageindex.py +++ b/setuptools/tests/test_packageindex.py @@ -189,7 +189,7 @@ class TestPackageIndex: for locs in local] for v, vc in versions: dists = list(setuptools.package_index.distros_for_url( - 'http://example.com/example.zip#egg=example-' + v)) + 'http://example.com/example-foo.zip#egg=example-foo-' + v)) assert dists[0].version == '' assert dists[1].version == vc |