Skip to content
Snippets Groups Projects
Commit d4e5b5bb authored by Antoine Lambert's avatar Antoine Lambert
Browse files

pytest.ini: Fix 'pytest-postgresql < 4' support with 'pytest >= 8'

pytest 8.0 modified the handling of default parameter when defining
configuration options, which breaks the use of 'pytest-postgresql < 4'.

Workaround that issue by explicitly defining postgresql_load option
in pytest.ini file.

See https://github.com/pytest-dev/pytest/issues/11282.
parent c1e36b94
No related branches found
No related tags found
No related merge requests found
......@@ -16,3 +16,5 @@ filterwarnings =
ignore:.*'U' mode is deprecated
asyncio_mode = strict
# fix 'pytest-postgresql < 4' support with 'pytest >= 8'
postgresql_load =
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment