1
0

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:
Tomáš Chvátal 2020-06-29 12:33:22 +00:00 committed by Git OBS Bridge
parent 1244bdf94c
commit 148570cc43
2 changed files with 7 additions and 2 deletions

View File

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

View File

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