[packages/python-recommonmark] - the test code is horribly broken here
baggins
baggins at pld-linux.org
Sat Mar 15 11:44:01 CET 2025
commit a48f3c6570f6bd6cce0a1498810912f08982aab8
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sat Mar 15 11:42:29 2025 +0100
- the test code is horribly broken here
python-recommonmark.spec | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/python-recommonmark.spec b/python-recommonmark.spec
index 9b1af9c..7c73063 100644
--- a/python-recommonmark.spec
+++ b/python-recommonmark.spec
@@ -98,6 +98,7 @@ Dokumentacja modułu Pythona recommonmark.
%if %{with tests}
# skip: python2 uses different XML formatting, tests expect python3 formatting
# sphinx tests are too dependent on Sphinx version
+PYTHONPATH=$(pwd) \
%{__python} -m pytest tests -k 'not CustomExtensionTests'
%endif
%endif
@@ -107,6 +108,7 @@ Dokumentacja modułu Pythona recommonmark.
%if %{with tests}
# sphinx tests are too dependent on Sphinx version
+PYTHONPATH=$(pwd) \
%{__python3} -m pytest tests -k 'not test_sphinx'
%endif
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-recommonmark.git/commitdiff/a48f3c6570f6bd6cce0a1498810912f08982aab8
More information about the pld-cvs-commit
mailing list