]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix distutils test_upload failure
authorNed Deily <nad@python.org>
Sun, 16 Jul 2017 06:58:48 +0000 (02:58 -0400)
committerNed Deily <nad@python.org>
Sun, 16 Jul 2017 06:58:48 +0000 (02:58 -0400)
Lib/distutils/tests/test_upload.py

index 1402343e0a8ba63b53e1d103e90d1cf3c1a4db3b..f403e027c52b611f7cb5d4cfbe27a75b6d754cb8 100644 (file)
@@ -86,7 +86,7 @@ class uploadTestCase(PyPIRCCommandTestCase):
         cmd.finalize_options()
         for attr, waited in (('username', 'me'), ('password', 'secret'),
                              ('realm', 'pypi'),
-                             ('repository', 'https://pypi.python.org/pypi')):
+                             ('repository', 'https://upload.pypi.org/legacy/')):
             self.assertEqual(getattr(cmd, attr), waited)
 
     def test_saved_password(self):