From fabe29cb94bfcc0e7f6f0a2ba527ffd990bf2160 Mon Sep 17 00:00:00 2001 From: INADA Naoki Date: Tue, 17 Apr 2018 19:57:25 +0900 Subject: [PATCH] bpo-33295: Skip test using missing external site `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. --- Lib/test/test_urllib2net.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/test/test_urllib2net.py b/Lib/test/test_urllib2net.py index 13e2dd5b784205..15f73de9f029f8 100644 --- a/Lib/test/test_urllib2net.py +++ b/Lib/test/test_urllib2net.py @@ -177,6 +177,7 @@ def test_custom_headers(self): 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)