15
0
forked from pool/python-LTTL

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
This commit is contained in:
Tomáš Chvátal
2020-04-15 07:57:07 +00:00
committed by Git OBS Bridge
parent 3367402ebd
commit e95dfac900
2 changed files with 7 additions and 2 deletions

View File

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