bpo-33295: Skip test using missing external site (GH-6504)

`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.
This commit is contained in:
INADA Naoki 2018-04-18 00:31:29 +09:00 committed by Ned Deily
parent ba3a87aca3
commit 36d56ea826

View file

@ -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)