Skip to content

Commit

Permalink
Fix pytest-asyncio deprecations (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinHjelmare authored Feb 8, 2022
1 parent b2be6c5 commit 320e6d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 3 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,6 @@ ignore_errors = true

[pydocstyle]
add-ignore = D202

[tool:pytest]
asyncio_mode = auto
5 changes: 0 additions & 5 deletions tests/model/test_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,11 @@

from unittest.mock import AsyncMock, call

import pytest

from aiovlc.client import Client
from aiovlc.model.command import Status

# pylint: disable=unused-argument

# All test coroutines will be treated as marked.
pytestmark = pytest.mark.asyncio


async def test_status_command(
transport: tuple[AsyncMock, AsyncMock],
Expand Down

0 comments on commit 320e6d7

Please sign in to comment.