[packages/python3-multidict] disable tests
atler
atler at pld-linux.org
Mon Mar 17 22:41:55 CET 2025
commit 0323e7998431e330a5efc8663d776fcdc6c7a163
Author: Jan Palus <atler at pld-linux.org>
Date: Mon Mar 17 22:37:34 2025 +0100
disable tests
some of them are written in a way so they only work on installed module
(manual invocation of interpreter in isolated mode `python3 -I`) and
some don't work even then.
python3-multidict.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/python3-multidict.spec b/python3-multidict.spec
index c5d4f60..f0f171f 100644
--- a/python3-multidict.spec
+++ b/python3-multidict.spec
@@ -1,7 +1,7 @@
#
# Conditional build:
%bcond_without doc # API documentation
-%bcond_without tests # unit tests
+%bcond_with tests # unit tests
Summary: multidict implementation
Summary(pl.UTF-8): Implementacja multidict
@@ -58,7 +58,7 @@ Dokumentacja API modułu Pythona multidict.
%if %{with tests}
PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
-PYTEST_PLUGINS="pytest_cov.plugin" \
+PYTHONPATH=$(readlink -f build-3/lib.*) \
%{__python3} -m pytest tests
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-multidict.git/commitdiff/0323e7998431e330a5efc8663d776fcdc6c7a163
More information about the pld-cvs-commit
mailing list