summaryrefslogtreecommitdiff
path: root/dev-python/prometheus-client
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/prometheus-client')
-rw-r--r--dev-python/prometheus-client/prometheus-client-0.20.0.ebuild10
1 files changed, 10 insertions, 0 deletions
diff --git a/dev-python/prometheus-client/prometheus-client-0.20.0.ebuild b/dev-python/prometheus-client/prometheus-client-0.20.0.ebuild
index e66ad60e742d..e8ad1798dc6c 100644
--- a/dev-python/prometheus-client/prometheus-client-0.20.0.ebuild
+++ b/dev-python/prometheus-client/prometheus-client-0.20.0.ebuild
@@ -23,3 +23,13 @@ RDEPEND="
"
distutils_enable_tests pytest
+
+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
+}