Answer:
The “pytestconfigwarning” you mentioned, is a warning message indicating that an unknown configuration option “asyncio_mode” was provided in the pytest configuration.
When running pytest, you can define and customize various options in the pytest.ini file, setup.cfg file, or directly in the command line using command line options.
The warning message is displayed because “asyncio_mode” is not a recognized configuration option in pytest. It means that pytest did not recognize the option and won’t be using it during test execution.
To fix this warning, you need to remove the “asyncio_mode” option from your pytest configuration. Make sure you have provided the correct option name, or check if it is actually supported by pytest.
Here’s an example of a pytest.ini file without the “asyncio_mode” option:
[pytest] addopts = --verbose testpaths = tests
- Property ‘div’ does not exist on type ‘jsx.intrinsicelements’.
- Psql: error: connection to server on socket “/var/run/postgresql/.s.pgsql.5432” failed: fatal: sorry, too many clients already
- Property ‘palette’ does not exist on type ‘theme’
- Pyrcc5′ is not recognized as an internal or external command
- Procedure expects parameter ‘@statement’ of type ‘ntext/nchar/nvarchar’.
- Pyspark shuffle rows
- Pytest stuck at collecting