commit: ed5e282d655e0a95ee369c688d010c2242d7fd7e
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 24 16:04:35 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Nov 24 16:04:35 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed5e282d
dev-python/pytest-describe: Fix test failures due to random plugins
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pytest-describe/pytest-describe-2.1.0.ebuild | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/dev-python/pytest-describe/pytest-describe-2.1.0.ebuild
b/dev-python/pytest-describe/pytest-describe-2.1.0.ebuild
index f9fee20dc1ec..55ad3ff255f3 100644
--- a/dev-python/pytest-describe/pytest-describe-2.1.0.ebuild
+++ b/dev-python/pytest-describe/pytest-describe-2.1.0.ebuild
@@ -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
}