Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Jun 12, 2019

Mock the HTTPConnection.close() method in a few unit tests to avoid
logging "Exception ignored in: ..." messages.

https://bugs.python.org/issue36918

Mock the HTTPConnection.close() method in a few unit tests to avoid
logging "Exception ignored in: ..." messages.
@vstinner vstinner merged commit eb976e4 into python:master Jun 12, 2019
@miss-islington
Copy link
Contributor

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8.
🐍🍒⛏🤖

@vstinner vstinner deleted the test_urllib_mock_close branch June 12, 2019 02:07
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 12, 2019
Mock the HTTPConnection.close() method in a few unit tests to avoid
logging "Exception ignored in: ..." messages.
(cherry picked from commit eb976e4)

Co-authored-by: Victor Stinner <[email protected]>
@bedevere-bot
Copy link

GH-13998 is a backport of this pull request to the 3.8 branch.

miss-islington added a commit that referenced this pull request Jun 12, 2019
Mock the HTTPConnection.close() method in a few unit tests to avoid
logging "Exception ignored in: ..." messages.
(cherry picked from commit eb976e4)

Co-authored-by: Victor Stinner <[email protected]>
lisroach pushed a commit to lisroach/cpython that referenced this pull request Sep 10, 2019
Mock the HTTPConnection.close() method in a few unit tests to avoid
logging "Exception ignored in: ..." messages.
DinoV pushed a commit to DinoV/cpython that referenced this pull request Jan 14, 2020
Mock the HTTPConnection.close() method in a few unit tests to avoid
logging "Exception ignored in: ..." messages.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants