jonghwanhyeon / python-ffmpeg

A python binding for FFmpeg which provides sync and async APIs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PytestUnknownMarkWarning: Unknown pytest.mark.asyncio

xiota opened this issue · comments

commented

After installing, when running pytests in the tests directory, I get several warning messages stating:

PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html

To prevent this warning, a file pytest.ini file is needed in the tests directory with the following contents:

[pytest]
markers =
    asyncio: asyncio mark

Fixed with commit a672c89 🙏