dev-python/pytest-regressions: Use EPYTEST_PLUGIN_LOAD_VIA_ENV

Signed-off-by: Michał Górny <mgorny@gentoo.org>
Part-of: https://github.com/gentoo/gentoo/pull/42876
Closes: https://github.com/gentoo/gentoo/pull/42876
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-07-05 08:33:35 +02:00
parent ec67342e26
commit 6c42e12c0e

View File

@@ -24,6 +24,7 @@ RDEPEND="
dev-python/pyyaml[${PYTHON_USEDEP}]
"
EPYTEST_PLUGIN_LOAD_VIA_ENV=1
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
distutils_enable_sphinx doc dev-python/sphinx-rtd-theme
@@ -65,6 +66,6 @@ python_test() {
)
fi
local -x PYTEST_PLUGINS=pytest_datadir.plugin,pytest_regressions.plugin
local EPYTEST_PLUGINS=( pytest-{datadir,regressions} )
epytest
}