Markéta Machová 2022-09-29 10:02:19 +00:00 committed by Git OBS Bridge
parent 335bd888b1
commit 935b2a111d

View File

@ -92,7 +92,7 @@ sed -i 's/^from \./from cairocffi./' tests/*.py
%check
cd tests/
# Switch off test_xcb_window (gh#Kozea/cairocffi#203)
%python_expand PYTHONPATH="%{buildroot}%{$python_sitelib}" xvfb-run --server-args="-screen 0 1280x1024x16" $python -m pytest ${$python_ignore} -k "not test_xcb_window" *.py
%python_expand PYTHONPATH="%{buildroot}%{$python_sitelib}" xvfb-run --server-args="-screen 0 1280x1024x16" $python -m pytest -k "not test_xcb_window" *.py
%files %{python_files}
%license LICENSE