From f3fd444b0bc18e95d08c88567d9d8ed17346027d Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Tue, 21 Apr 2015 15:57:20 +0200 Subject: Fix urlparser tests on Python 3 HTTP body must be bytes --- tests/urlparser_data/python/sub/simpleapp.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tests/urlparser_data/python/sub') diff --git a/tests/urlparser_data/python/sub/simpleapp.py b/tests/urlparser_data/python/sub/simpleapp.py index ac83a56..88bd975 100644 --- a/tests/urlparser_data/python/sub/simpleapp.py +++ b/tests/urlparser_data/python/sub/simpleapp.py @@ -1,6 +1,4 @@ def application(environ, start_response): start_response('200 OK', [('Content-type', 'text/html'), ('test-header', 'TEST!')]) - return ['subsimple'] - - + return [b'subsimple'] -- cgit v1.2.1