summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorINADA Naoki <methane@users.noreply.github.com>2018-04-17 15:31:29 (GMT)
committerNed Deily <nad@python.org>2018-04-17 15:31:29 (GMT)
commit36d56ea826caffbeac0fc0c6d90248b80516e33c (patch)
tree03defe82dd0c183cb5b7e5fb1c7af08acab63fdf
parentba3a87aca37cec5b1ee32cf68f4a254fa0bb2bec (diff)
downloadcpython-36d56ea826caffbeac0fc0c6d90248b80516e33c.zip
cpython-36d56ea826caffbeac0fc0c6d90248b80516e33c.tar.gz
cpython-36d56ea826caffbeac0fc0c6d90248b80516e33c.tar.bz2
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.
-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 13e2dd5..15f73de 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)