mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/pytest-describe: Fix test failures due to random plugins
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -27,8 +27,7 @@ RDEPEND="
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
# We need to disable some plugins because tests don't like unexpected
|
||||
# output
|
||||
local -x PYTEST_ADDOPTS="-p no:flaky -p no:capturelog"
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
local -x PYTEST_PLUGINS=pytest_describe.plugin
|
||||
epytest
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user