Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
3b1a22a6
Commit
3b1a22a6
authored
13 years ago
by
Tarek Ziade
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #12109 fixing typo in packaging's test_command_upload_docs
parent
1231a4e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Lib/packaging/tests/test_command_upload_docs.py
Lib/packaging/tests/test_command_upload_docs.py
+2
-2
No files found.
Lib/packaging/tests/test_command_upload_docs.py
View file @
3b1a22a6
...
...
@@ -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
.
HTTP
S
Connection
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
.
HTTP
S
Connection
=
orig_https
def
test_handling_response
(
self
):
self
.
pypi
.
default_response_status
=
'403 Forbidden'
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment