From f6c3ef7ed3efd6f63ef55a117fe475bd369d248b Mon Sep 17 00:00:00 2001 From: Andrey Zelenkov Date: Thu, 5 Apr 2018 17:55:06 +0300 Subject: Tests: added Python test with not iterable object. --- test/python/close_error/wsgi.py | 1 + 1 file changed, 1 insertion(+) (limited to 'test/python/close_error') diff --git a/test/python/close_error/wsgi.py b/test/python/close_error/wsgi.py index bd9d4d36..3e9fb63d 100644 --- a/test/python/close_error/wsgi.py +++ b/test/python/close_error/wsgi.py @@ -5,6 +5,7 @@ class application: def __iter__(self): self.start('200', [(('!', '0'))]) + yield b'' def close(self): self.environ['wsgi.errors'].write('Close called.') -- cgit