diff options
author | Tarek Ziade <tarek@ziade.org> | 2011-05-19 11:46:41 (GMT) |
---|---|---|
committer | Tarek Ziade <tarek@ziade.org> | 2011-05-19 11:46:41 (GMT) |
commit | 3b1a22a6df360a392ac5156e2014fc6e67e7fca5 (patch) | |
tree | 7f07bebda78a2dfd1a67c9538e3ed7d7648a62d9 /Lib | |
parent | 1231a4e097e55c5ac793ddaedad23bfd610591e6 (diff) | |
download | cpython-3b1a22a6df360a392ac5156e2014fc6e67e7fca5.zip cpython-3b1a22a6df360a392ac5156e2014fc6e67e7fca5.tar.gz cpython-3b1a22a6df360a392ac5156e2014fc6e67e7fca5.tar.bz2 |
Issue #12109 fixing typo in packaging's test_command_upload_docs
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/packaging/tests/test_command_upload_docs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/packaging/tests/test_command_upload_docs.py b/Lib/packaging/tests/test_command_upload_docs.py index b103894..c9147df 100644 --- a/Lib/packaging/tests/test_command_upload_docs.py +++ b/Lib/packaging/tests/test_command_upload_docs.py @@ -141,7 +141,7 @@ class UploadDocsTestCase(support.TempdirManager, def test_https_connection(self): https_called = False - orig_https = upload_docs_mod.http.client.HTTPConnection + orig_https = upload_docs_mod.http.client.HTTPSConnection def https_conn_wrapper(*args): nonlocal https_called @@ -159,7 +159,7 @@ class UploadDocsTestCase(support.TempdirManager, self.cmd.run() self.assertTrue(https_called) finally: - upload_docs_mod.http.client.HTTPConnection = orig_https + upload_docs_mod.http.client.HTTPSConnection = orig_https def test_handling_response(self): self.pypi.default_response_status = '403 Forbidden' |