[packages/python-mccabe] - disable pytest plugins
qboosh
qboosh at pld-linux.org
Tue Mar 15 21:56:27 CET 2022
commit fbaa19780f7029b591f01d4dac7bcc6eb4458136
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Mar 15 21:57:43 2022 +0100
- disable pytest plugins
python-mccabe.spec | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/python-mccabe.spec b/python-mccabe.spec
index 6199ce9..8e28842 100644
--- a/python-mccabe.spec
+++ b/python-mccabe.spec
@@ -64,6 +64,7 @@ Skrypt Neda do sprawdzania złożoności McCabe'a (cyklomatycznej).
%py_build
%if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
%{__python} -m pytest test_mccabe.py
%endif
%endif
@@ -72,6 +73,7 @@ Skrypt Neda do sprawdzania złożoności McCabe'a (cyklomatycznej).
%py3_build
%if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
%{__python3} -m pytest test_mccabe.py
%endif
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-mccabe.git/commitdiff/9f438836349d66f1e5895cec461d85890c2f9ac9
More information about the pld-cvs-commit
mailing list