Skip to content

Commit

Permalink
bpo-33295: Skip test using missing external site (GH-6504)
Browse files Browse the repository at this point in the history
`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.
  • Loading branch information
methane authored and ned-deily committed Apr 17, 2018
1 parent ba3a87a commit 36d56ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Lib/test/test_urllib2net.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ def test_custom_headers(self):
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)
Expand Down

0 comments on commit 36d56ea

Please sign in to comment.