- Disable broken test with latest version of MarkupSafe (2.1.4)

(gh#pallets/jinja#1930, gh#pallets/markupsafe#417)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Jinja2?expand=0&rev=108
This commit is contained in:
Daniel Garcia 2024-01-29 10:12:28 +00:00 committed by Git OBS Bridge
parent 6d8e93bca6
commit b48e3e3f2d
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jan 29 10:10:29 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
- Disable broken test with latest version of MarkupSafe (2.1.4)
(gh#pallets/jinja#1930, gh#pallets/markupsafe#417)
-------------------------------------------------------------------
Fri Jan 12 09:35:16 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@ -63,7 +63,10 @@ dos2unix LICENSE.rst # Fix wrong EOL encoding
%check
%if %{with test}
%pytest -W ignore:'Support for nose tests is deprecated'
# Test broken with latest version of MarkupSafe (2.1.4)
# gh#pallets/jinja#1930, gh#pallets/markupsafe#417
donttest="test_striptags"
%pytest -W ignore:'Support for nose tests is deprecated' -k "not ($donttest)"
%endif
%files %{python_files}