[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2021-06-05 16:39:20 +00:00
parent b505e2a7bd
commit 585c75aec8
2 changed files with 21 additions and 9 deletions

View file

@ -2029,8 +2029,9 @@ def test_app_freed_on_zero_refcount():
def test_validate_http_method_route(app, client):
with pytest.raises(TypeError):
@app.route("/", methods=["BAD_METHOD"])
def bad_method_func():
return "Hello World"
return "Hello World"