We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 998e855 commit c8dc021Copy full SHA for c8dc021
pytest_asyncio/plugin.py
@@ -1004,7 +1004,7 @@ def _get_marked_loop_scope(asyncio_marker: Mark) -> _ScopeName:
1004
if asyncio_marker.args or (
1005
asyncio_marker.kwargs and set(asyncio_marker.kwargs) - {"loop_scope", "scope"}
1006
):
1007
- raise ValueError("mark.asyncio accepts only a keyword argument 'scope'.")
+ raise ValueError("mark.asyncio accepts only a keyword argument 'loop_scope'.")
1008
if "scope" in asyncio_marker.kwargs:
1009
if "loop_scope" in asyncio_marker.kwargs:
1010
raise pytest.UsageError(_DUPLICATE_LOOP_SCOPE_DEFINITION_ERROR)
0 commit comments