commit:     62ad842a5de8d791b19d7886d27ccc8cbf5ca852
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 26 06:11:47 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Apr 26 06:43:49 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62ad842a

dev-python/async_generator: Disable plugin autoload to fix tests

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

 dev-python/async_generator/async_generator-1.10-r1.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/dev-python/async_generator/async_generator-1.10-r1.ebuild 
b/dev-python/async_generator/async_generator-1.10-r1.ebuild
index 15e541a84752..3f5d16f121ee 100644
--- a/dev-python/async_generator/async_generator-1.10-r1.ebuild
+++ b/dev-python/async_generator/async_generator-1.10-r1.ebuild
@@ -18,3 +18,8 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv 
~s390 sparc x86 ~x6
 DOCS=( README.rst )
 
 distutils_enable_tests pytest
+
+python_test() {
+       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+       epytest
+}

Reply via email to