summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-11-24 17:04:35 +0100
committerMichał Górny <mgorny@gentoo.org>2023-11-24 17:04:35 +0100
commited5e282d655e0a95ee369c688d010c2242d7fd7e (patch)
tree3daf0e6711b37a423cefa26984e8ef9167c6c87b /dev-python/pytest-describe
parentdev-python/pytest-httpx: Stabilize 0.26.0 arm64, #918367 (diff)
downloadgentoo-ed5e282d655e0a95ee369c688d010c2242d7fd7e.tar.gz
gentoo-ed5e282d655e0a95ee369c688d010c2242d7fd7e.tar.bz2
gentoo-ed5e282d655e0a95ee369c688d010c2242d7fd7e.zip
dev-python/pytest-describe: Fix test failures due to random plugins
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pytest-describe')
-rw-r--r--dev-python/pytest-describe/pytest-describe-2.1.0.ebuild5
1 files 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
}