]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-33295: Skip test using missing external site (GH-6504) (GH-6510)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 17 Apr 2018 15:35:32 +0000 (08:35 -0700)
committerNed Deily <nad@python.org>
Tue, 17 Apr 2018 15:35:32 +0000 (11:35 -0400)
`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 <methane@users.noreply.github.com>
Lib/test/test_urllib2net.py

index 89ee75919c7bc04d782d385138160ef9307b1b1f..4ba79cbc31c3dc45ae08810eab8acc2383a97963 100644 (file)
@@ -184,6 +184,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)