commit:     0109136f354cd142c832781d72c692f47e3bb351
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Feb  4 19:05:49 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb  4 19:07:05 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0109136f

dev-python/gpep517: Fix tmp_path_retention_policy for tests

Closes: https://bugs.gentoo.org/923046
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/gpep517/gpep517-15.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/dev-python/gpep517/gpep517-15.ebuild 
b/dev-python/gpep517/gpep517-15.ebuild
index e1b324df4976..5ea577490b8a 100644
--- a/dev-python/gpep517/gpep517-15.ebuild
+++ b/dev-python/gpep517/gpep517-15.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022-2023 Gentoo Authors
+# Copyright 2022-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # please keep this ebuild at EAPI 7 -- sys-apps/portage dep
@@ -32,6 +32,11 @@ RDEPEND="
 
 distutils_enable_tests pytest
 
+python_test() {
+       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+       epytest -o tmp_path_retention_policy=all
+}
+
 python_install() {
        python_domodule gpep517
        python_newscript - gpep517 <<-EOF

Reply via email to