aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_wsgi.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_wsgi.py')
-rw-r--r--test/test_wsgi.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_wsgi.py b/test/test_wsgi.py
index 68a47769..41572d49 100644
--- a/test/test_wsgi.py
+++ b/test/test_wsgi.py
@@ -56,7 +56,7 @@ class TestWSGI:
f.request.host = "foo"
f.request.port = 80
wfile = cStringIO.StringIO()
- err = w.serve(f, wfile)
+ w.serve(f, wfile)
return wfile.getvalue()
def test_serve_empty_body(self):
@@ -72,7 +72,7 @@ class TestWSGI:
try:
raise ValueError("foo")
except:
- ei = sys.exc_info()
+ sys.exc_info()
status = '200 OK'
response_headers = [('Content-type', 'text/plain')]
start_response(status, response_headers)