commit:     57fe24c852820eb4f7f5fcb1821e2613e78cb497
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  5 06:10:13 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jul  5 06:11:27 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57fe24c8

dev-python/pytest-regressions: Disable plugin autoloading for tests

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pytest-regressions/pytest-regressions-2.8.1.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dev-python/pytest-regressions/pytest-regressions-2.8.1.ebuild 
b/dev-python/pytest-regressions/pytest-regressions-2.8.1.ebuild
index 2b6e9ebc4cd9..1b88fa1837c0 100644
--- a/dev-python/pytest-regressions/pytest-regressions-2.8.1.ebuild
+++ b/dev-python/pytest-regressions/pytest-regressions-2.8.1.ebuild
@@ -24,6 +24,7 @@ RDEPEND="
        dev-python/pyyaml[${PYTHON_USEDEP}]
 "
 
+EPYTEST_PLUGINS=()
 distutils_enable_tests pytest
 distutils_enable_sphinx doc dev-python/sphinx-rtd-theme
 
@@ -64,5 +65,6 @@ python_test() {
                )
        fi
 
+       local -x PYTEST_PLUGINS=pytest_datadir.plugin,pytest_regressions.plugin
        epytest
 }

Reply via email to