]> granicus.if.org Git - python/commit
bpo-36918: Fix "Exception ignored in" in test_urllib (GH-13996)
authorVictor Stinner <vstinner@redhat.com>
Wed, 12 Jun 2019 02:07:38 +0000 (04:07 +0200)
committerGitHub <noreply@github.com>
Wed, 12 Jun 2019 02:07:38 +0000 (04:07 +0200)
commiteb976e47e261760330c1bed224019b073b05e994
treecdf1f8f1977dc23cd4f0ee4da8a07d947df089c2
parentefdf6ca90f7702824e7aeee1ceca949e7c20288a
bpo-36918: Fix "Exception ignored in" in test_urllib (GH-13996)

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