Skip to content

Commit b49b164

Browse files
Backport PR #46692: CI fix ci-failure from bs4 new version (#46696)
Co-authored-by: Marco Edward Gorelli <[email protected]>
1 parent 56b7e31 commit b49b164

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)