Skip to content

Commit 1f42d45

Browse files
CI/TST: use https to avoid ResourceWarning in html tests (#37786)
1 parent 72d4b78 commit 1f42d45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/io/test_html.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def test_to_html_compat(self):
123123

124124
@tm.network
125125
def test_banklist_url_positional_match(self):
126-
url = "http://www.fdic.gov/bank/individual/failed/banklist.html"
126+
url = "https://www.fdic.gov/bank/individual/failed/banklist.html"
127127
# Passing match argument as positional should cause a FutureWarning.
128128
with tm.assert_produces_warning(FutureWarning):
129129
df1 = self.read_html(
@@ -136,7 +136,7 @@ def test_banklist_url_positional_match(self):
136136

137137
@tm.network
138138
def test_banklist_url(self):
139-
url = "http://www.fdic.gov/bank/individual/failed/banklist.html"
139+
url = "https://www.fdic.gov/bank/individual/failed/banklist.html"
140140
df1 = self.read_html(
141141
url, match="First Federal Bank of Florida", attrs={"id": "table"}
142142
)

0 commit comments

Comments
 (0)