From 121003082d0eded03226da9dd5adfb0bd241414baebd00740d2f408f15d6c82c Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Mon, 2 Dec 2024 20:48:18 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy1?expand=0&rev=18 --- python-numpy1.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-numpy1.spec b/python-numpy1.spec index 57b47c7..3621335 100644 --- a/python-numpy1.spec +++ b/python-numpy1.spec @@ -364,8 +364,6 @@ test_failok+=" or (test_nditer and test_iter_refcount) or (test_utils and (test_ # not supported by setuptools 75 test_failok+=" or test_all_modules_are_expected_2" test_failok+=" or test_api_importable" -ignore="--ignore distutils/tests/test_mingw32ccompiler.py" -ignore+=" --ignore distutils/tests/test_system_info.py" echo " import sys @@ -378,6 +376,8 @@ sys.exit(0 if r else 1) %{python_expand # for all python3 flavors export PYTHONPATH=%{buildroot}%{$python_sitearch} export PYTHONDONTWRITEBYTECODE=1 +ignore="--ignore %{buildroot}%{$python_sitearch}/numpy/distutils/tests/test_mingw32ccompiler.py" +ignore+=" --ignore %{buildroot}%{$python_sitearch}/numpy/distutils/tests/test_system_info.py" [ -n "$test_failok" ] && $python runobstest.py "${test_failok:4}" $ignore ||: # test_new_policy: duplicates test runs and output and does not follow our deselection $python runobstest.py "not (test_new_policy ${test_failok} or slow)" $ignore