db/pytest_plugin: Keep mypy happy regardless pytest-postgresql version
This ensures mypy will not produce errors while being able to run tests
regardless pytest-postgresql
version (<3
or >=3
).
This fixes current build of swh-core
master branch.
Migrated from D5827 (view on Phabricator)