diff options
Diffstat (limited to 'test/python/close_error/wsgi.py')
-rw-r--r-- | test/python/close_error/wsgi.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/python/close_error/wsgi.py b/test/python/close_error/wsgi.py index 3e9fb63d..dae12c2b 100644 --- a/test/python/close_error/wsgi.py +++ b/test/python/close_error/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() |