Skip to content

Commit 333bb08

Browse files
authored
Merge pull request #6860 from pytest-dev/pytest_twisted_in_async_warning
Add pytest-twisted to list of async def handling plugins
2 parents acec0b6 + dce2621 commit 333bb08

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/_pytest/python.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ def async_warn(nodeid: str) -> None:
166166
)
167167
msg += " - pytest-asyncio\n"
168168
msg += " - pytest-trio\n"
169-
msg += " - pytest-tornasync"
169+
msg += " - pytest-tornasync\n"
170+
msg += " - pytest-twisted"
170171
warnings.warn(PytestUnhandledCoroutineWarning(msg.format(nodeid)))
171172
skip(msg="async def function and no async plugin installed (see warnings)")
172173

0 commit comments

Comments
 (0)