commit: b03999e07b8cc1725f10c365e74c7941118d7832
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 27 09:35:23 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jan 27 09:48:54 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b03999e0
dev-python/aiocache: Fix test failure
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/aiocache/aiocache-0.12.2.ebuild | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/dev-python/aiocache/aiocache-0.12.2.ebuild
b/dev-python/aiocache/aiocache-0.12.2.ebuild
index dd8c5bb60fe4..be1ff1ba4a4d 100644
--- a/dev-python/aiocache/aiocache-0.12.2.ebuild
+++ b/dev-python/aiocache/aiocache-0.12.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -32,6 +32,10 @@ BDEPEND="
distutils_enable_tests pytest
python_test() {
+ local EPYTEST_DESELECT=(
+ # broken by newer dev-python/redis (?), removed upstream
+ tests/ut/backends/test_redis.py::TestRedisBackend::test_close
+ )
local EPYTEST_IGNORE=(
# benchmarks
tests/performance
@@ -39,7 +43,8 @@ python_test() {
tests/ut/backends/test_memcached.py
)
- epytest -o addopts= -m "not memcached"
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest -o addopts= -m "not memcached" -p asyncio -p pytest_mock
}
src_test() {