- Disable xcb tests (they are just too unstable,

gh#Kozea/cairocffi#203).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cairocffi?expand=0&rev=42
This commit is contained in:
Matej Cepl 2022-08-20 21:23:47 +00:00 committed by Git OBS Bridge
parent de4cbccb1a
commit faea2ff4ee
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Aug 20 21:23:34 UTC 2022 - Matej Cepl <mcepl@suse.com>
- Disable xcb tests (they are just too unstable,
gh#Kozea/cairocffi#203).
-------------------------------------------------------------------
Fri Aug 19 15:40:07 UTC 2022 - Ben Greiner <code@bnavigator.de>

View File

@ -87,7 +87,10 @@ sed -i 's/^from \./from cairocffi./' tests/*.py
%check
cd tests/
%python_expand PYTHONPATH="%{buildroot}%{$python_sitelib}" xvfb-run --server-args="-screen 0 1280x1024x16" $python -B -m pytest
# Don't test with NumPy in the python36 flavor, because python36-numpy is not in TW anymore
# Switch off test_xcb tests gh#Kozea/cairocffi#203
python36_ignore="--ignore test_numpy.py --ignore test_xcb.py"
%python_expand PYTHONPATH="%{buildroot}%{$python_sitelib}" xvfb-run --server-args="-screen 0 1280x1024x16" $python -m pytest ${$python_ignore}
%files %{python_files}
%license LICENSE