address flake8 issues

This commit is contained in:
Jon S. Stumpf 2019-05-31 14:53:26 -04:00 committed by David Lord
parent 549fed29ea
commit b46f5942a5
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
23 changed files with 86 additions and 89 deletions

View file

@ -191,7 +191,6 @@ class TestGreenletContextCopying(object):
@app.route("/")
def index():
flask.session["fizz"] = "buzz"
reqctx = flask._request_ctx_stack.top.copy()
@flask.copy_current_request_context
def g():
@ -228,7 +227,7 @@ def test_session_error_pops_context():
@app.route("/")
def index():
# shouldn't get here
assert False
AssertionError()
response = app.test_client().get("/")
assert response.status_code == 500