Merge pull request #3453 from noviluni/remove_redundant_parentheses

fix docstring and remove redundant parentheses
This commit is contained in:
David Lord 2020-02-10 17:28:14 -08:00 committed by GitHub
commit 986871bf4e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -75,7 +75,7 @@ class _AppCtxGlobals(object):
set and return a default value. Like :meth:`dict.setdefault`.
:param name: Name of attribute to get.
:param: default: Value to set and return if the attribute is not
:param default: Value to set and return if the attribute is not
present.
.. versionadded:: 0.11

View file

@ -1689,7 +1689,7 @@ def test_routing_redirect_debugging(app, client):
with pytest.raises(AssertionError) as e:
client.post("/foo", data={})
assert "http://localhost/foo/" in str(e.value)
assert ("Make sure to directly send your POST-request to this URL") in str(
assert "Make sure to directly send your POST-request to this URL" in str(
e.value
)