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