Skip to content

Commit afc768d

Browse files
miss-islingtonmethane
authored andcommitted
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 36d56ea) Co-authored-by: INADA Naoki <[email protected]>
1 parent 7d19676 commit afc768d

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
@@ -184,6 +184,7 @@ def test_custom_headers(self):
184184
opener.open(request)
185185
self.assertEqual(request.get_header('User-agent'),'Test-Agent')
186186

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

0 commit comments

Comments
 (0)