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:
committed by
Git OBS Bridge
parent
3367402ebd
commit
e95dfac900
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user