summaryrefslogtreecommitdiff
path: root/tests/cgiapp_data/stderr.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cgiapp_data/stderr.cgi')
-rwxr-xr-xtests/cgiapp_data/stderr.cgi12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/cgiapp_data/stderr.cgi b/tests/cgiapp_data/stderr.cgi
index 89dae0a..d2520b6 100755
--- a/tests/cgiapp_data/stderr.cgi
+++ b/tests/cgiapp_data/stderr.cgi
@@ -1,8 +1,8 @@
#!/usr/bin/env python
-
+from __future__ import print_function
import sys
-print 'Status: 500 Server Error'
-print 'Content-type: text/html'
-print
-print 'There was an error'
-print >> sys.stderr, 'some data on the error'
+print('Status: 500 Server Error')
+print('Content-type: text/html')
+print()
+print('There was an error')
+print('some data on the error', file=sys.stderr)