aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests/test_packageindex.py
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2018-04-26 06:27:19 -0700
committerJon Dufresne <jon.dufresne@gmail.com>2018-04-26 07:00:01 -0700
commit06736eec5894df69dc267876cf78381804df3ada (patch)
tree24190c5287bc67947ab76d58e98d2f958b2400a0 /setuptools/tests/test_packageindex.py
parentd0800d78a78809020b1681574061490019096657 (diff)
downloadexternal_python_setuptools-06736eec5894df69dc267876cf78381804df3ada.tar.gz
external_python_setuptools-06736eec5894df69dc267876cf78381804df3ada.tar.bz2
external_python_setuptools-06736eec5894df69dc267876cf78381804df3ada.zip
Update all pypi.python.org URLs to pypi.org
For details on the new PyPI, see the blog post: https://pythoninsider.blogspot.ca/2018/04/new-pypi-launched-legacy-pypi-shutting.html
Diffstat (limited to 'setuptools/tests/test_packageindex.py')
-rw-r--r--setuptools/tests/test_packageindex.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/tests/test_packageindex.py b/setuptools/tests/test_packageindex.py
index 53e20d44..63b92946 100644
--- a/setuptools/tests/test_packageindex.py
+++ b/setuptools/tests/test_packageindex.py
@@ -265,11 +265,11 @@ class TestPyPIConfig:
with pypirc.open('w') as strm:
strm.write(DALS("""
[pypi]
- repository=https://pypi.python.org
+ repository=https://pypi.org
username=jaraco
password=pity%
"""))
cfg = setuptools.package_index.PyPIConfig()
- cred = cfg.creds_by_repository['https://pypi.python.org']
+ cred = cfg.creds_by_repository['https://pypi.org']
assert cred.username == 'jaraco'
assert cred.password == 'pity%'