From 546e8e72be9ebb3bb4f63c40c41a86adce5da07245155eacf1e633969fa87a87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 6 May 2019 09:16:24 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-arraydiff?expand=0&rev=7 --- python-pytest-arraydiff.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-pytest-arraydiff.spec b/python-pytest-arraydiff.spec index a6874f4..101495b 100644 --- a/python-pytest-arraydiff.spec +++ b/python-pytest-arraydiff.spec @@ -41,7 +41,6 @@ Requires: python-pytest Requires: python-six BuildArch: noarch %if %{with test} -BuildRequires: %{python_module astropy} BuildRequires: %{python_module numpy} BuildRequires: %{python_module pytest} BuildRequires: %{python_module six} @@ -78,7 +77,8 @@ At the moment, the supported file formats for the reference files are: %if %{with test} %check -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v +# generate, default_format, test_fails, test_succeeds_func_fits_hdu tests need astropy that is python3 only, so skip +%pytest -k 'not (test_generate or test_default_format or test_fails or test_succeeds_func_fits_hdu)' %endif %if !%{with test}