From 2e5d7adc749198ba82b9e1f56390b8700738461f Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Fri, 15 Sep 2017 09:10:25 +0200 Subject: [PATCH] Only exclude the failing test on ppc64 and s390x --- pycairo.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pycairo.spec b/pycairo.spec index 1c6dd90..213ec46 100644 --- a/pycairo.spec +++ b/pycairo.spec @@ -72,10 +72,11 @@ libraries so that they interoperate with py3cairo. %check # https://github.com/pygobject/pycairo/issues/75 -%ifnarch ppc64 s390x +%ifarch ppc64 s390x +export PYTEST_ADDOPTS="-k 'not test_image_surface_get_data'" +%endif %{__python2} setup.py test %{__python3} setup.py test -%endif %files -n python2-cairo %license COPYING*