forked from pool/python-uncertainties
Accepting request 817704 from home:pgajdos:python
- switch from nosetests to pytest OBS-URL: https://build.opensuse.org/request/show/817704 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-uncertainties?expand=0&rev=17
This commit is contained in:
parent
1244bdf94c
commit
148570cc43
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 29 12:05:59 UTC 2020 - pgajdos@suse.com
|
||||
|
||||
- switch from nosetests to pytest
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 24 17:13:28 UTC 2020 - Todd R <toddrme2178@gmail.com>
|
||||
|
||||
|
@ -26,8 +26,8 @@ Group: Development/Languages/Python
|
||||
URL: https://github.com/lebigot/uncertainties/
|
||||
Source: https://files.pythonhosted.org/packages/source/u/uncertainties/uncertainties-%{version}.tar.gz
|
||||
BuildRequires: %{python_module future}
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: %{python_module numpy}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module testsuite}
|
||||
BuildRequires: %{python_module tools}
|
||||
@ -58,7 +58,7 @@ sed -i -e '/^#!\//, 1d' uncertainties/lib1to2/test_1to2.py
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python setup.py nosetests -v
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE.txt
|
||||
|
Loading…
Reference in New Issue
Block a user