Skip to content

Commit 28b06b7

Browse files
authored
Fix typos (#151)
1 parent 9cc6421 commit 28b06b7

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ the `PyPI`_ overview page or
6868
How to start?
6969
-------------
7070

71-
Considering the minimal flask `application factory`_ bellow in ``myapp.py`` as an example:
71+
Considering the minimal flask `application factory`_ below in ``myapp.py`` as an example:
7272

7373
.. code-block:: python
7474

pytest_flask/_internal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
def deprecated(reason):
66
"""Decorator which can be used to mark function or method as deprecated.
7-
It will result a warning being emmitted when the function is called."""
7+
It will result a warning being emitted when the function is called."""
88

99
def decorator(func):
1010
@functools.wraps(func)

pytest_flask/fixtures.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def request_ctx(app):
102102
"(client.get, client.post) always return an instance of TestResponse. This "
103103
"class provides a reference to the request object through 'response.request' "
104104
"The fixture 'request_ctx' is deprecated and will be removed in the future, using TestResponse.request "
105-
"is the prefered way.",
105+
"is the preferred way.",
106106
DeprecationWarning,
107107
stacklevel=2,
108108
)

tests/test_fixtures.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def test_request_ctx(self, app, request_ctx):
2222
def test_request_ctx_is_kept_around(self, client):
2323
res = client.get(url_for("index"), headers=[("X-Something", "42")])
2424
"""In werkzeug 2.0.0 the test Client provides a new attribute 'request'
25-
in the response class wich holds a reference to the request object that
25+
in the response class which holds a reference to the request object that
2626
produced the respective response, making instrospection easier"""
2727
try:
2828
assert res.request.headers["X-Something"] == "42"

0 commit comments

Comments
 (0)