From e95dfac9001ccf91c1fa18eaf28cf4af300b01fed1b658913ea0ac35a7fc5e38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 15 Apr 2020 07:57:07 +0000 Subject: [PATCH] Accepting request 794052 from home:polslinux:branches:devel:languages:python - Use pytest instead of nose OBS-URL: https://build.opensuse.org/request/show/794052 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-LTTL?expand=0&rev=5 --- python-LTTL.changes | 5 +++++ python-LTTL.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-LTTL.changes b/python-LTTL.changes index 0fdd057..893237c 100644 --- a/python-LTTL.changes +++ b/python-LTTL.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 15 07:45:33 UTC 2020 - Paolo Stivanin + +- Use pytest instead of nose + ------------------------------------------------------------------- Thu Mar 26 11:11:46 UTC 2020 - Marketa Calabkova diff --git a/python-LTTL.spec b/python-LTTL.spec index 882d55b..a512d4b 100644 --- a/python-LTTL.spec +++ b/python-LTTL.spec @@ -35,8 +35,8 @@ Requires: python-scipy BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module future} -BuildRequires: %{python_module nose} BuildRequires: %{python_module numpy} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module scipy} # /SECTION %python_subpackages @@ -56,7 +56,7 @@ sed -i 's/\r$//' README.rst %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_expand nosetests-%{$python_bin_suffix} +%pytest %files %{python_files} %doc README.rst