From: Ben Darnell Date: Sun, 25 Oct 2015 16:59:00 +0000 (-0400) Subject: Mark another test as http/1 only X-Git-Tag: v4.3.0~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0dfdd8430fb1d5d395239b4bbf7dda0721726a1;p=thirdparty%2Ftornado.git Mark another test as http/1 only --- diff --git a/tornado/test/httpclient_test.py b/tornado/test/httpclient_test.py index 79de77bb1..e7551c93b 100644 --- a/tornado/test/httpclient_test.py +++ b/tornado/test/httpclient_test.py @@ -379,6 +379,8 @@ Transfer-Encoding: chunked sock, port = bind_unused_port() with closing(sock): def write_response(stream, request_data): + if b"HTTP/1." not in request_data: + self.skipTest("requires HTTP/1.x") stream.write(b"""\ HTTP/1.1 200 OK X-XSS-Protection: 1;