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 | 944e87e4fbcec8cf339fbbebb6283f57b86316db (patch) | |
tree | 8822090aea5c301a9de0dca942cd8a9acd355414 | |
parent | eedbbc1efabd46f15ae1d87642779497660a3d1e (diff) | |
download | pastedeploy-944e87e4fbcec8cf339fbbebb6283f57b86316db.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() |