diff options
author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2015-05-27 11:25:33 +0200 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2015-05-27 11:25:33 +0200 |
commit | 161bc2cfaa8b70b4c2cab5562784df34013452e1 (patch) | |
tree | f35ec3ccf8acc580f87089fb695b775596fc9c09 /test/test_wsgi.py | |
parent | e3d390e036430b9d7cc4b93679229fe118eb583a (diff) | |
download | mitmproxy-161bc2cfaa8b70b4c2cab5562784df34013452e1.tar.gz mitmproxy-161bc2cfaa8b70b4c2cab5562784df34013452e1.tar.bz2 mitmproxy-161bc2cfaa8b70b4c2cab5562784df34013452e1.zip |
cleanup code with autoflake
run the following command:
$ autoflake -r -i --remove-all-unused-imports --remove-unused-variables .
Diffstat (limited to 'test/test_wsgi.py')
-rw-r--r-- | test/test_wsgi.py | 4 |
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) |