dev-python/prometheus-client: Disable plugin autoload to fix tests

Closes: https://bugs.gentoo.org/924624
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-07-22 15:53:17 +02:00
parent 1161d2f6c7
commit 0491fa68ba

View File

@@ -24,7 +24,12 @@ RDEPEND="
distutils_enable_tests pytest
EPYTEST_IGNORE=(
# optional tests, broken with >=dev-python/asgiref-3.8
tests/test_asgi.py
)
python_test() {
local EPYTEST_IGNORE=(
# optional tests, broken with >=dev-python/asgiref-3.8
tests/test_asgi.py
)
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest
}