commit:     8fe92cd5e5e4a600e54400b88451256fcb4af980
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 15 05:24:42 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jul 18 04:39:11 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fe92cd5

dev-python/inline-snapshot: Use EPYTEST_PLUGINS

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
Part-of: https://github.com/gentoo/gentoo/pull/43007
Closes: https://github.com/gentoo/gentoo/pull/43007
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/inline-snapshot/inline-snapshot-0.24.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/inline-snapshot/inline-snapshot-0.24.0.ebuild 
b/dev-python/inline-snapshot/inline-snapshot-0.24.0.ebuild
index 2f65f35dc01b..b7ac646a3900 100644
--- a/dev-python/inline-snapshot/inline-snapshot-0.24.0.ebuild
+++ b/dev-python/inline-snapshot/inline-snapshot-0.24.0.ebuild
@@ -41,6 +41,8 @@ BDEPEND="
        )
 "
 
+EPYTEST_PLUGIN_LOAD_VIA_ENV=1
+EPYTEST_PLUGINS=( "${PN}" pytest-{freezer,mock,subtests,xdist} )
 EPYTEST_XDIST=1
 distutils_enable_tests pytest
 
@@ -54,8 +56,6 @@ python_test() {
        )
 
        local -x COLUMNS=80
-       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-       local -x 
PYTEST_PLUGINS=inline_snapshot.pytest_plugin,pytest_freezer,pytest_subtests.plugin,xdist.plugin
        local -x PYTHONPATH=${S}/src
        epytest -p pytest_mock
 }

Reply via email to