Skip to content

Commit 29b463d

Browse files
Debian Science Teamrebecca-palmer
Debian Science Team
authored andcommitted
Stop using now-dead URL in tests/examples
Origin: loosely based on upstream commit 68db2d26ddb5f95de4254d61b850d3dcaf6ce717 Author: patrick "phofl", Rebecca N. Palmer <[email protected]> Bug: pandas-dev/pandas#38988 Bug-Debian: https://bugs.debian.org/979621 Forwarded: no Gbp-Pq: Name 979621_dead_url.patch
1 parent 502689d commit 29b463d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/io/test_html.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def test_to_html_compat(self):
137137
@pytest.mark.xfail(reason="Html file was removed")
138138
@tm.network
139139
def test_banklist_url_positional_match(self):
140-
url = "https://www.fdic.gov/bank/individual/failed/banklist.html"
140+
url = "https://raw.githubusercontent.com/pandas-dev/pandas/master/pandas/tests/io/data/html/banklist.html"
141141
# Passing match argument as positional should cause a FutureWarning.
142142
with tm.assert_produces_warning(FutureWarning):
143143
df1 = self.read_html(
@@ -151,7 +151,7 @@ def test_banklist_url_positional_match(self):
151151
@pytest.mark.xfail(reason="Html file was removed")
152152
@tm.network
153153
def test_banklist_url(self):
154-
url = "https://www.fdic.gov/bank/individual/failed/banklist.html"
154+
url = "https://raw.githubusercontent.com/pandas-dev/pandas/master/pandas/tests/io/data/html/banklist.html"
155155
df1 = self.read_html(
156156
url, match="First Federal Bank of Florida", attrs={"id": "table"}
157157
)

0 commit comments

Comments
 (0)