From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 17 Apr 2018 15:33:48 +0000 (-0700) Subject: bpo-33295: Skip test using missing external site (GH-6504) (GH-6509) X-Git-Tag: v3.7.0b4~44 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f7379ddf1c315fe18734cca943aff5b437baf849;p=python bpo-33295: Skip test using missing external site (GH-6504) (GH-6509) `test_urllib2net.OtherNetworkTests.test_sites_no_connection_close` used `http://www.imdb.com/` but it is moved to https so the test is not valid anymore. Skip test for the moment to allow CI to proceed. (cherry picked from commit 36d56ea826caffbeac0fc0c6d90248b80516e33c) Co-authored-by: INADA Naoki --- diff --git a/Lib/test/test_urllib2net.py b/Lib/test/test_urllib2net.py index 13e2dd5b78..15f73de9f0 100644 --- a/Lib/test/test_urllib2net.py +++ b/Lib/test/test_urllib2net.py @@ -177,6 +177,7 @@ class OtherNetworkTests(unittest.TestCase): opener.open(request) self.assertEqual(request.get_header('User-agent'),'Test-Agent') + @unittest.skip('XXX: http://www.imdb.com is gone') def test_sites_no_connection_close(self): # Some sites do not send Connection: close header. # Verify that those work properly. (#issue12576)