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/wsgi.py | 1 + 1 file changed, 1 insertion(+) (limited to 'test/python/close/wsgi.py') diff --git a/test/python/close/wsgi.py b/test/python/close/wsgi.py index f80a34d7..c86a6097 100644 --- a/test/python/close/wsgi.py +++ b/test/python/close/wsgi.py @@ -5,6 +5,7 @@ class application: def __iter__(self): self.start('200', [(('Content-Length', '0'))]) + yield b'' def close(self): self.environ['wsgi.errors'].write('Close called.') -- cgit