From 7007b2a567ba449c84fb6e31aa0a13085131981b Mon Sep 17 00:00:00 2001 From: Joris Van den Bossche Date: Thu, 12 Nov 2020 11:30:52 +0100 Subject: [PATCH] CI/TST: use https to avoid ResourceWarning in html tests --- pandas/tests/io/test_html.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"} )