summaryrefslogtreecommitdiff
path: root/Lib/test/test_urllib2net.py
diff options
context:
space:
mode:
authorINADA Naoki <methane@users.noreply.github.com>2018-04-18 00:31:29 +0900
committerNed Deily <nad@python.org>2018-04-17 11:31:29 -0400
commit36d56ea826caffbeac0fc0c6d90248b80516e33c (patch)
tree03defe82dd0c183cb5b7e5fb1c7af08acab63fdf /Lib/test/test_urllib2net.py
parentba3a87aca37cec5b1ee32cf68f4a254fa0bb2bec (diff)
downloadcpython-git-36d56ea826caffbeac0fc0c6d90248b80516e33c.tar.gz
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.
Diffstat (limited to 'Lib/test/test_urllib2net.py')
-rw-r--r--Lib/test/test_urllib2net.py1
1 files changed, 1 insertions, 0 deletions
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)