mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user