diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-04-17 15:36:30 (GMT) |
---|---|---|
committer | Ned Deily <nad@python.org> | 2018-04-17 15:36:30 (GMT) |
commit | f1547d110ff195291e29ba5c29617912d12ecbec (patch) | |
tree | 1b06909d06ab75345ed62c1e507781d6f3bc8e18 /Lib/test/test_urllib2net.py | |
parent | f44ce356a6ccd6c8e80ac5c4b29adb13db5c117a (diff) | |
download | cpython-f1547d110ff195291e29ba5c29617912d12ecbec.zip cpython-f1547d110ff195291e29ba5c29617912d12ecbec.tar.gz cpython-f1547d110ff195291e29ba5c29617912d12ecbec.tar.bz2 |
bpo-33295: Skip test using missing external site (GH-6504) (GH-6511)
`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>
Diffstat (limited to 'Lib/test/test_urllib2net.py')
-rw-r--r-- | Lib/test/test_urllib2net.py | 1 |
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) |