Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov committed Jan 21, 2022
1 parent 1dba69b commit e465284
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytest_asyncio/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ def inner(**kwargs):
coro = func(**kwargs)
if not inspect.isawaitable(coro):
pyfuncitem.warn(
UserWarning(
pytest.PytestWarning(
f"The test {pyfuncitem} is marked with '@pytest.mark.asyncio' "
"but it is not an async function. "
"Please remove asyncio marker, "
Expand Down

0 comments on commit e465284

Please sign in to comment.