diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2020-05-12 20:34:20 -0400 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2020-05-12 21:05:32 -0400 |
| commit | 322734cfa00d3d5bffb9af02c780ee8e33142e5b (patch) | |
| tree | 9e7a3de7bcfd562197e323437ce853fc5ae3d495 /setuptools/tests | |
| parent | 030c836645acd4ee4362c980e46b23f5e27d5664 (diff) | |
| download | external_python_setuptools-322734cfa00d3d5bffb9af02c780ee8e33142e5b.tar.gz external_python_setuptools-322734cfa00d3d5bffb9af02c780ee8e33142e5b.tar.bz2 external_python_setuptools-322734cfa00d3d5bffb9af02c780ee8e33142e5b.zip | |
👹 Feed the hobgoblins (delint).
Fixes #2107
Diffstat (limited to 'setuptools/tests')
| -rw-r--r-- | setuptools/tests/test_easy_install.py | 2 | ||||
| -rw-r--r-- | setuptools/tests/test_packageindex.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/setuptools/tests/test_easy_install.py b/setuptools/tests/test_easy_install.py index 534392b9..3044cbd0 100644 --- a/setuptools/tests/test_easy_install.py +++ b/setuptools/tests/test_easy_install.py @@ -738,7 +738,7 @@ class TestSetupRequires: dep_2_0_url=dep_2_0_url, dep_2_0_sdist=dep_2_0_sdist, dep_2_0_python_requires=dep_2_0_python_requires, - ), 'utf-8') + ), 'utf-8') index_url = path_to_url(str(index)) with contexts.save_pkg_resources_state(): test_pkg = create_setup_requires_package( diff --git a/setuptools/tests/test_packageindex.py b/setuptools/tests/test_packageindex.py index 60d968fd..fc8f2a70 100644 --- a/setuptools/tests/test_packageindex.py +++ b/setuptools/tests/test_packageindex.py @@ -221,11 +221,11 @@ class TestPackageIndex: ('+ubuntu_0', '+ubuntu.0'), ] versions = [ - [''.join([e, r, p, l]) for l in ll] + [''.join([e, r, p, loc]) for loc in locs] for e in epoch for r in releases for p in sum([pre, post, dev], ['']) - for ll in local] + 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)) |
