Skip to content

Commit

Permalink
Ignore bs4 warning in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ZedThree committed Jan 4, 2024
1 parent 0f4ad4f commit 36cec2f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
import pytest


pytestmark = pytest.mark.filterwarnings("ignore::bs4.MarkupResemblesLocatorWarning")

HEADINGS = re.compile(r"h[1-4]")
ANY_TEXT = re.compile(r"h[1-4]|p")

Expand Down

0 comments on commit 36cec2f

Please sign in to comment.