1
0

Accepting request 1006903 from home:favogt:branches:devel:languages:python

- Drop outdated python36_ignore

OBS-URL: https://build.opensuse.org/request/show/1006903
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cairocffi?expand=0&rev=48
This commit is contained in:
Markéta Machová 2022-09-29 09:59:08 +00:00 committed by Git OBS Bridge
parent d0606dd48e
commit 335bd888b1
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Sep 29 08:06:36 UTC 2022 - Fabian Vogt <fvogt@suse.com>
- Drop outdated python36_ignore
-------------------------------------------------------------------
Tue Sep 27 17:04:28 UTC 2022 - Markéta Machová <mmachova@suse.com>

View File

@ -91,9 +91,7 @@ sed -i 's/^from \./from cairocffi./' tests/*.py
%check
cd tests/
# 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"
# 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
%files %{python_files}