OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy1?expand=0&rev=18
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user