From 148570cc43653f3d708af27b172973ea8e2e779616cd057b6b72daca5dfcfc5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 29 Jun 2020 12:33:22 +0000 Subject: [PATCH] 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 --- python-uncertainties.changes | 5 +++++ python-uncertainties.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-uncertainties.changes b/python-uncertainties.changes index aef0df7..553be7c 100644 --- a/python-uncertainties.changes +++ b/python-uncertainties.changes @@ -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 diff --git a/python-uncertainties.spec b/python-uncertainties.spec index 620d87c..8ed33c1 100644 --- a/python-uncertainties.spec +++ b/python-uncertainties.spec @@ -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