From e092d09cfbe527334fe3e1da101efcf57ebaedf39c428845786c25174e53f74f Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Sun, 11 Oct 2020 18:42:28 +0000 Subject: [PATCH] - 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 --- python-control.changes | 5 +++++ python-control.spec | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/python-control.changes b/python-control.changes index 0106ae0..5fe595e 100644 --- a/python-control.changes +++ b/python-control.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Oct 11 18:39:38 UTC 2020 - Benjamin Greiner + +- Skip a test family on Leap because of segfaults in numpy + ------------------------------------------------------------------- Thu Jul 23 09:56:18 UTC 2020 - Benjamin Greiner diff --git a/python-control.spec b/python-control.spec index 58f0be4..3071f8e 100644 --- a/python-control.spec +++ b/python-control.spec @@ -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