summaryrefslogtreecommitdiffhomepage
path: root/test/python/close/wsgi.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/python/close/wsgi.py')
-rw-r--r--test/python/close/wsgi.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/python/close/wsgi.py b/test/python/close/wsgi.py
index c86a6097..71a5a06c 100644
--- a/test/python/close/wsgi.py
+++ b/test/python/close/wsgi.py
@@ -8,4 +8,5 @@ class application:
yield b''
def close(self):
- self.environ['wsgi.errors'].write('Close called.')
+ self.environ['wsgi.errors'].write('Close called.\n')
+ self.environ['wsgi.errors'].flush()