linkchecker/pytest.ini
Chris Mayo 6d9061b00a Ignore bs4 markup and XML parser warnings
XMLParsedAsHTMLWarning: It looks like you're parsing an XML document
using an HTML parser.

MarkupResemblesLocatorWarning: The input looks more like a filename than
markup.

MarkupResemblesLocatorWarning: The input looks more like a URL than
markup.
2022-09-02 19:29:11 +01:00

6 lines
162 B
INI

[pytest]
testpaths = tests
addopts = -ra --tb=short
filterwarnings =
ignore::bs4.MarkupResemblesLocatorWarning
ignore::bs4.builder.XMLParsedAsHTMLWarning