diff options
author | aodag <aodagx@gmail.com> | 2016-03-08 17:25:17 +0900 |
---|---|---|
committer | aodag <aodagx@gmail.com> | 2016-03-08 17:25:17 +0900 |
commit | 8ad1d694650a8901ea7ec3150cdd8f5139b17057 (patch) | |
tree | 8822090aea5c301a9de0dca942cd8a9acd355414 | |
parent | cdc3077330e4597381008745997bbcf61f21038c (diff) | |
download | pastedeploy-git-8ad1d694650a8901ea7ec3150cdd8f5139b17057.tar.gz |
use explicit bytes literal
-rw-r--r-- | tests/test_config_middleware.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_config_middleware.py b/tests/test_config_middleware.py index cc315e3..28b8b72 100644 --- a/tests/test_config_middleware.py +++ b/tests/test_config_middleware.py @@ -10,7 +10,7 @@ class Bug(Exception): def app_with_exception(environ, start_response): def cont(): - yield "something" + yield b"something" raise Bug start_response('200 OK', [('Content-type', 'text/html')]) return cont() |