15
0

- Skip testcase that breaks with pytest 8.4.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=127
This commit is contained in:
2025-07-10 02:55:56 +00:00
committed by Git OBS Bridge
parent e8068e90cd
commit 85b00383da
2 changed files with 7 additions and 1 deletions

View File

@@ -89,7 +89,8 @@ install -Dm0644 doc/pygmentize.1 %{buildroot}%{_mandir}/man1/pygmentize.1
# in exmplefiles because of potential licensing concerns
# See https://github.com/pygments/pygments/issues/2872
# skip random input tests as they get stuck (missing entropy?)
%pytest -k "not test_guess_lexer_modula2 and not test_random_input"
# test_lexer_classes breaks with pytest 8.4.
%pytest -k "not (test_guess_lexer_modula2 or test_random_input or test_lexer_classes)"
%pre
# If libalternatives is used: Removing old update-alternatives entries.