Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Jun 11, 2019

Implement FakeHTTPConnection.close() to silence destructor errors.

Co-Authored-By: Xtreak [email protected]

https://bugs.python.org/issue36918

Implement FakeHTTPConnection.close() to silence destructor errors.

Co-Authored-By: Xtreak <[email protected]>
@vstinner
Copy link
Member Author

Oh. It was too easy: test_urllib2 fails with my change :-(

@tirkarthi
Copy link
Member

Yes, this was my first approach as well but test_urllib2 explicitly checks Fakesocket is closed.

@vstinner
Copy link
Member Author

This PR is wrong. I wrote PR #13996 which is correct.

@vstinner vstinner closed this Jun 12, 2019
@vstinner vstinner deleted the test_urllib_del branch June 12, 2019 01:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants