PytestUnknownMarkWarning: Unknown pytest.mark.asyncio
xiota opened this issue · comments
xiota 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
Jonghwan Hyeon commented
Fixed with commit a672c89 🙏