bpo-36918, test_urllib: Silence FakeHTTPConnection destructor errors by vstinner · Pull Request #13955 · python/cpython
-
-
Notifications
You must be signed in to change notification settings - Fork 34.8k
Closed
Conversation
Member
Implement FakeHTTPConnection.close() to silence destructor errors.
Co-Authored-By: Xtreak tir.karthi@gmail.com
Implement FakeHTTPConnection.close() to silence destructor errors. Co-Authored-By: Xtreak <tir.karthi@gmail.com>
vstinner
added
the
skip news
label
the-knights-who-say-ni
added
the
CLA signed
label
vstinner
mentioned this pull request
vstinner
commented
Jun 11, 2019
vstinner commented
Member Author
Oh. It was too easy: test_urllib2 fails with my change :-(
tirkarthi
commented
Jun 11, 2019
tirkarthi commented
Member
Yes, this was my first approach as well but test_urllib2 explicitly checks Fakesocket is closed.
vstinner
commented
Jun 12, 2019
vstinner commented
Member Author
This PR is wrong. I wrote PR #13996 which is correct.
vstinner
closed this
vstinner
deleted the
test_urllib_del
branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment