Mercurial > hg > nginx-tests
comparison uwsgi.t @ 1480:d23d959713b5
Tests: Python 3.7 (PEP 3333) compatibility in uwsgi tests.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 23 May 2019 17:58:42 +0300 |
parents | 882267679006 |
children | f069dd7ba5a7 |
comparison
equal
deleted
inserted
replaced
1479:fc3722dd8862 | 1480:d23d959713b5 |
---|---|
59 | 59 |
60 $t->write_file('uwsgi_test_app.py', <<END); | 60 $t->write_file('uwsgi_test_app.py', <<END); |
61 | 61 |
62 def application(env, start_response): | 62 def application(env, start_response): |
63 start_response('200 OK', [('Content-Type','text/plain')]) | 63 start_response('200 OK', [('Content-Type','text/plain')]) |
64 return "SEE-THIS" | 64 return b"SEE-THIS" |
65 | 65 |
66 END | 66 END |
67 | 67 |
68 my $uwsgihelp = `uwsgi -h`; | 68 my $uwsgihelp = `uwsgi -h`; |
69 my @uwsgiopts = (); | 69 my @uwsgiopts = (); |