2024-12-02 20:48:18 +00:00
committed by Git OBS Bridge
parent 933846dd48
commit 121003082d

View File

@@ -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