diff --git a/pandas/tests/io/test_html.py b/pandas/tests/io/test_html.py index eb704ccf1e594..9a883aac69e6b 100644 --- a/pandas/tests/io/test_html.py +++ b/pandas/tests/io/test_html.py @@ -123,7 +123,7 @@ def test_to_html_compat(self): @tm.network def test_banklist_url_positional_match(self): - url = "http://www.fdic.gov/bank/individual/failed/banklist.html" + url = "https://www.fdic.gov/bank/individual/failed/banklist.html" # Passing match argument as positional should cause a FutureWarning. with tm.assert_produces_warning(FutureWarning): df1 = self.read_html( @@ -136,7 +136,7 @@ def test_banklist_url_positional_match(self): @tm.network def test_banklist_url(self): - url = "http://www.fdic.gov/bank/individual/failed/banklist.html" + url = "https://www.fdic.gov/bank/individual/failed/banklist.html" df1 = self.read_html( url, match="First Federal Bank of Florida", attrs={"id": "table"} )