- Skip a test family on Leap because of segfaults in numpy

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-control?expand=0&rev=21
This commit is contained in:
2020-10-11 18:42:28 +00:00
committed by Git OBS Bridge
parent 95fbc5cfb5
commit e092d09cfb
2 changed files with 10 additions and 1 deletions

View File

@@ -83,7 +83,11 @@ filterwarnings =
ignore:.*matrix subclass:PendingDeprecationWarning
ignore:.*scipy:DeprecationWarning
EOL
%pytest
%if 0%{?suse_version} < 1550
# segfault: free() error in Leap numpy library
%define donttest -k "not test_clean_part"
%endif
%pytest %{?donttest}
%files %{python_files}
%doc ChangeLog README.rst