diff --git a/tests/test_util.py b/tests/test_util.py index 0da30f1..e3eaa71 100644 --- a/tests/test_util.py +++ b/tests/test_util.py @@ -17,9 +17,9 @@ def test_normalize_url(): assert normalize_url("http://1.2.3.4:80") == "http://1.2.3.4:80" assert normalize_url("http://1.2.3.4:80:80") == "http://1.2.3.4:80" - assert normalize_url("http://[:dead:beef::1]:80") == "http://[:dead:beef::1]:80" + assert normalize_url("http://[dead:beef::1]:80") == "http://[dead:beef::1]:80" assert normalize_url(None) is None - assert normalize_url(b"http://[:dead:beef::1]:80") is None + assert normalize_url(b"http://[dead:beef::1]:80") is None @pytest.mark.asyncio