diff --git a/python-sure.spec b/python-sure.spec index 79062fd..481b117 100644 --- a/python-sure.spec +++ b/python-sure.spec @@ -23,6 +23,7 @@ BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-mock BuildRequires: python3-nose +BuildRequires: python3-pytest BuildRequires: python3-setuptools BuildRequires: python3-six @@ -54,7 +55,7 @@ heavily inspired by should.js. %check -%{__python3} -m nose --verbosity 2 +%pytest %files -n python3-%{srcname} @@ -67,6 +68,8 @@ heavily inspired by should.js. * Wed Jun 23 2021 Benjamin A. Beasley - 1.4.11-14 - Rename %%pypi_name to %%srcname - Switch to GitHub tarball, which includes docs/ +- Use pytest instead of nose (which is deprecated) as the test runner in + %%check; we are not quite ready to remove the nose BR, however * Wed Jun 02 2021 Python Maint - 1.4.11-13 - Rebuilt for Python 3.10