From dc6bf17964fb4f8a6abd7196c2489259faa2fd510aa8d90c02d167332b8bf967 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Wed, 13 Jan 2021 14:45:27 +0000 Subject: [PATCH] Accepting request 862918 from home:pgajdos:python - do not nose, but %pytest OBS-URL: https://build.opensuse.org/request/show/862918 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-titlecase?expand=0&rev=9 --- python-titlecase.changes | 5 +++++ python-titlecase.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/python-titlecase.changes b/python-titlecase.changes index 4c6eaab..09b1b06 100644 --- a/python-titlecase.changes +++ b/python-titlecase.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 13 14:28:10 UTC 2021 - pgajdos@suse.com + +- do not nose, but %pytest + ------------------------------------------------------------------- Fri Jul 24 08:17:11 UTC 2020 - Marketa Calabkova diff --git a/python-titlecase.spec b/python-titlecase.spec index 0cfe433..112586c 100644 --- a/python-titlecase.spec +++ b/python-titlecase.spec @@ -1,7 +1,7 @@ # # spec file for package python-titlecase # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -34,7 +34,7 @@ Requires(post): update-alternatives Requires(postun): update-alternatives BuildArch: noarch # SECTION test requirements -BuildRequires: %{python_module nose >= 1.0} +BuildRequires: %{python_module pytest} # /SECTION %python_subpackages @@ -57,7 +57,7 @@ York Times Manual of Style, plus some others like 'vs' and 'v'. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_expand nosetests-%{$python_bin_suffix} titlecase.tests +%pytest titlecase/tests.py %post %python_install_alternative titlecase