diff options
| author | Victor Stinner <victor.stinner@gmail.com> | 2015-04-21 15:57:20 +0200 |
|---|---|---|
| committer | Victor Stinner <victor.stinner@gmail.com> | 2015-04-21 15:57:20 +0200 |
| commit | f3fd444b0bc18e95d08c88567d9d8ed17346027d (patch) | |
| tree | a92c992c3c6e428191c6687bafe618ef060ac9ca /tests/urlparser_data/python/sub/simpleapp.py | |
| parent | 75646c0540381741943935a15c23ab1a226043c2 (diff) | |
| download | paste-f3fd444b0bc18e95d08c88567d9d8ed17346027d.tar.gz | |
Fix urlparser tests on Python 3
HTTP body must be bytes
Diffstat (limited to 'tests/urlparser_data/python/sub/simpleapp.py')
| -rw-r--r-- | tests/urlparser_data/python/sub/simpleapp.py | 4 |
1 files changed, 1 insertions, 3 deletions
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'] |
