aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_http.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_http.py')
-rw-r--r--test/test_http.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_http.py b/test/test_http.py
index 2cbba936..f41a4e2d 100644
--- a/test/test_http.py
+++ b/test/test_http.py
@@ -294,8 +294,9 @@ def test_parse_url():
# Invalid IDNA
assert not http.parse_url("http://\xfafoo")
-
assert not http.parse_url("http:/\xc6/localhost:56121")
+ assert not http.parse_url("http://foo\0")
+
def test_parse_http_basic_auth():