Skip to content

Commit 782c378

Browse files
committed
[refactor] Adjusted warning text towards consistent wording ("marker" -> "mark").
Signed-off-by: Michael Seifert <[email protected]>
1 parent b7e0555 commit 782c378

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pytest_asyncio/plugin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -736,9 +736,9 @@ def pytest_pyfunc_call(pyfuncitem: pytest.Function) -> Optional[object]:
736736
pytest.PytestWarning(
737737
f"The test {pyfuncitem} is marked with '@pytest.mark.asyncio' "
738738
"but it is not an async function. "
739-
"Please remove asyncio marker. "
739+
"Please remove the asyncio mark. "
740740
"If the test is not marked explicitly, "
741-
"check for global markers applied via 'pytestmark'."
741+
"check for global marks applied via 'pytestmark'."
742742
)
743743
)
744744
yield

0 commit comments

Comments
 (0)