diff --git a/pandas/tests/io/test_html.py b/pandas/tests/io/test_html.py
index 59034e9f3d807..4632fcbab817a 100644
--- a/pandas/tests/io/test_html.py
+++ b/pandas/tests/io/test_html.py
@@ -121,6 +121,7 @@ def test_to_html_compat(self):
res = self.read_html(out, attrs={"class": "dataframe"}, index_col=0)[0]
tm.assert_frame_equal(res, df)
+ @pytest.mark.xfail(reason="ResourceWarning from html5lib #36467", strict=False)
@tm.network
def test_banklist_url_positional_match(self):
url = "http://www.fdic.gov/bank/individual/failed/banklist.html"