Description
We've got a number of DeprecationWarnings like this:
C:\Miniconda\envs\pdftotext\lib\site-packages\pytest_asyncio\plugin.py:191: DeprecationWarning: The 'asyncio_mode' default value will change to 'strict' in future, please explicitly use 'asyncio_mode=strict' or 'asyncio_mode=auto' in pytest configuration file.
and this
/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pytest_asyncio/plugin.py:317: DeprecationWarning: '@pytest.fixture' is applied to <fixture Class._inject_setup_method_fixture.<locals>.xunit_setup_method_fixture, file=/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/_pytest/python.py, line=831> in 'legacy' mode, please replace it with '@pytest_asyncio.fixture' as a preparation for switching to 'strict' mode (or use 'auto' mode to seamlessly handle all these fixtures as asyncio-driven).
I'm guessing we'll want to eventually switch to strict
mode as described, but we may need to double-check that this works on all the versions of python we support, and possibly update the minimum version of pytest that we recommend as well.