commit | 6a10e02aa644ad7f9c1f2ab6dd249c1a414c0c8b | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed Aug 08 17:01:45 2007 +0000 |
committer | Guido van Rossum <guido@python.org> | Wed Aug 08 17:01:45 2007 +0000 |
tree | f78dd670c175f469bb0c312d68ddb4b9ac3eabe7 | |
parent | 0269b91030c87db7f0d3c735367ab7ea6277a918 [diff] [blame] |
Switch wsgiref to io.{StringIO,BytesIO}. This shuts up the test failures. (I'm not sure about it actually working though.)
diff --git a/Lib/wsgiref/simple_server.py b/Lib/wsgiref/simple_server.py index abb3620..980f97a 100644 --- a/Lib/wsgiref/simple_server.py +++ b/Lib/wsgiref/simple_server.py
@@ -163,7 +163,7 @@ def demo_app(environ,start_response): - from StringIO import StringIO + from io import StringIO stdout = StringIO() print("Hello world!", file=stdout) print(file=stdout)