mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user