[packages/python-recommonmark] - disable FUBAR tests

baggins baggins at pld-linux.org
Sat Mar 15 11:44:57 CET 2025


commit 999927d343bfc13a3482b25db96dfbe2420c4c3e
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Mar 15 11:43:38 2025 +0100

    - disable FUBAR tests

 python-recommonmark.spec | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/python-recommonmark.spec b/python-recommonmark.spec
index 7c73063..077f9e3 100644
--- a/python-recommonmark.spec
+++ b/python-recommonmark.spec
@@ -3,7 +3,7 @@
 %bcond_without	python2 # CPython 2.x module
 %bcond_without	python3 # CPython 3.x module
 %bcond_without	doc	# Sphinx documentation
-%bcond_without	tests	# unit tests
+%bcond_with	tests	# unit tests
 
 Summary:	docutils-compatibility bridge to CommonMark
 Summary(pl.UTF-8):	Pomost zgodności z docutils dla CommonMark
@@ -97,8 +97,6 @@ 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
@@ -108,7 +106,6 @@ PYTHONPATH=$(pwd) \
 
 %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/999927d343bfc13a3482b25db96dfbe2420c4c3e



More information about the pld-cvs-commit mailing list