summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-04-17 15:35:32 (GMT)
committerNed Deily <nad@python.org>2018-04-17 15:35:32 (GMT)
commitafc768d69879d6b95c59a0a5e92ea4c6061f3841 (patch)
tree5afb4cff6b4fcc459000c0baddbdd6298e24170b
parent7d196762134f890eeb1d5a53acbf9dc9bf7e4d48 (diff)
downloadcpython-afc768d69879d6b95c59a0a5e92ea4c6061f3841.zip
cpython-afc768d69879d6b95c59a0a5e92ea4c6061f3841.tar.gz
cpython-afc768d69879d6b95c59a0a5e92ea4c6061f3841.tar.bz2
bpo-33295: Skip test using missing external site (GH-6504) (GH-6510)
`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>
-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 89ee759..4ba79cb 100644
--- a/Lib/test/test_urllib2net.py
+++ b/Lib/test/test_urllib2net.py
@@ -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)