commit:     12035dabeab1cf4a5a75330a197ce2133bf888c0
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sun Nov  7 06:15:54 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sun Nov  7 08:37:54 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12035dab

dev-python/pytest-bdd: disable pytest plugins autoload

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 dev-python/pytest-bdd/pytest-bdd-4.1.0.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dev-python/pytest-bdd/pytest-bdd-4.1.0.ebuild 
b/dev-python/pytest-bdd/pytest-bdd-4.1.0.ebuild
index c3be9a1f2c6..1b1087b8edf 100644
--- a/dev-python/pytest-bdd/pytest-bdd-4.1.0.ebuild
+++ b/dev-python/pytest-bdd/pytest-bdd-4.1.0.ebuild
@@ -30,5 +30,9 @@ src_test() {
        # terminal_reporter test needs exact wrapping
        local -x COLUMNS=80
 
+       # hooks output parsing may be affected by other pytest-*, e.g. tornasync
+       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+       local -x PYTEST_PLUGINS=pytest_bdd.plugin
+
        distutils-r1_src_test
 }

Reply via email to