commit 1dc0d3696553e34427fba671cec9a2c46d892d3f
Author: Jakub Bogusz <[email protected]>
Date:   Sat Mar 5 10:11:29 2022 +0100

    - disable pytest plugins autoload (fixes tests in presence of some plugins)

 python-six.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/python-six.spec b/python-six.spec
index 48eca63..82cbcc7 100644
--- a/python-six.spec
+++ b/python-six.spec
@@ -102,6 +102,7 @@ Dokumentacja moduĊ‚u Pythona six.
 %py_build
 
 %if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
 PYTHONPATH=$(pwd) \
 %{__python} -m pytest test_six.py
 %endif
@@ -111,6 +112,7 @@ PYTHONPATH=$(pwd) \
 %py3_build
 
 %if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
 PYTHONPATH=$(pwd) \
 %{__python3} -m pytest test_six.py
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-six.git/commitdiff/1dc0d3696553e34427fba671cec9a2c46d892d3f

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to