linkchecker/tests/checker/data/http_slash-old-urlunsplit.html
Chris Mayo 94839dcb03 Fix TestHttp.test_html_internet on Python 3.12.6
A relative path in a URL without netloc is preserved in
urllib.parse.urlunsplit().

https://docs.python.org/3.12/whatsnew/changelog.html#id4
2024-09-20 19:21:25 +01:00

7 lines
313 B
HTML

<a href="http://www.example.com/">ok example</a>
<a href="http:/www.example.com/">one slash example</a>
<a href="http:www.example.com/">no slash example</a>
<a href="//www.example.com/">no scheme example</a>
<a href="http://">no url</a>
<a href="http:/">no url, one slash</a>
<a href="http:">no url, no slash</a>