Skip to content

Commit 63b45bf

Browse files
asvetlovseifertm
andauthored
Apply suggestions from code review
Co-authored-by: Michael Seifert <[email protected]>
1 parent eeaec64 commit 63b45bf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ Only test coroutines will be affected (by default, coroutines prefixed by
236236
"""No marker!"""
237237
await asyncio.sleep(0, loop=event_loop)
238238
239-
In *auto* mode, the ``pytest.mark.asyncio`` marker can be omited, the merker is added
239+
In *auto* mode, the ``pytest.mark.asyncio`` marker can be omitted, the marker is added
240240
automatically to *async* test functions.
241241

242242

pytest_asyncio/plugin.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class Mode(str, enum.Enum):
2626
LEGACY_ASYNCIO_FIXTURE = (
2727
"'@pytest.fixture' is applied to {name} "
2828
"in 'legacy' mode, "
29-
"please replace it with '@pytest_asyncio.pytest_asyncio' as a preparation "
29+
"please replace it with '@pytest_asyncio.fixture' as a preparation "
3030
"for switching to 'strict' mode (or use 'auto' mode to seamlessly handle "
3131
"all these fixtures as asyncio-driven)."
3232
)
@@ -38,7 +38,7 @@ class Mode(str, enum.Enum):
3838
should be tested together, e.g. \
3939
both pytest-asyncio and pytest-trio are used in the same project)
4040
'legacy' - for keeping compatibility with pytest-asyncio<0.17: \
41-
auto-handling is disabled but asyncio_fixture usage is not enforced
41+
auto-handling is disabled but pytest_asyncio.fixture usage is not enforced
4242
"""
4343

4444

0 commit comments

Comments
 (0)