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