Skip to content

Commit 9b4f03e

Browse files
authored
fix ci-failure from bs4 new version (#46692)
1 parent 5531195 commit 9b4f03e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/io/html.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ def _parse_tables(self, doc, match, attrs):
577577
for elem in table.find_all(style=re.compile(r"display:\s*none")):
578578
elem.decompose()
579579

580-
if table not in unique_tables and table.find(text=match) is not None:
580+
if table not in unique_tables and table.find(string=match) is not None:
581581
result.append(table)
582582
unique_tables.add(table)
583583

0 commit comments

Comments
 (0)