Skip to content

Commit

Permalink
Merge branch 'host_subcomp' into ipv6_fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco committed Sep 26, 2024
2 parents fdd12b9 + d9332cc commit 2aae488
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tests/test_url.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@ def test_raw_host():
[
("example.com"),
("[::1]"),
("g%c3%bcnter.com"),
("xn--gnter-4ya.com"),
],
)
Expand All @@ -201,11 +200,6 @@ def test_host_non_ascii():
assert "оун-упа.укр" == url.host


def test_host_non_ascii_percent_encoded():
url = URL("g%c3%bcnter.com")
assert url.host == "günter.com"


def test_localhost():
url = URL("http://[::1]")
assert "::1" == url.host
Expand Down

0 comments on commit 2aae488

Please sign in to comment.