Reformat with black

https://github.com/python/black
This commit is contained in:
David Baumgold 2019-05-06 15:39:41 -04:00
parent 5b309831ec
commit 025589ee76
63 changed files with 3784 additions and 3459 deletions

View file

@ -23,11 +23,11 @@ def test_suppressed_exception_logging():
out = StringIO()
app = SuppressedFlask(__name__)
@app.route('/')
@app.route("/")
def index():
raise Exception('test')
raise Exception("test")
rv = app.test_client().get('/', errors_stream=out)
rv = app.test_client().get("/", errors_stream=out)
assert rv.status_code == 500
assert b'Internal Server Error' in rv.data
assert b"Internal Server Error" in rv.data
assert not out.getvalue()