Skip to content

Commit f1547d1

Browse files
miss-islingtonmethane
authored andcommitted
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 36d56ea) Co-authored-by: INADA Naoki <methane@users.noreply.github.com>
1 parent f44ce35 commit f1547d1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/test/test_urllib2net.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ def test_custom_headers(self):
177177
opener.open(request)
178178
self.assertEqual(request.get_header('User-agent'),'Test-Agent')
179179

180+
@unittest.skip('XXX: http://www.imdb.com is gone')
180181
def test_sites_no_connection_close(self):
181182
# Some sites do not send Connection: close header.
182183
# Verify that those work properly. (#issue12576)

0 commit comments

Comments
 (0)