From b8f5090c978a59e8e889603847e22c9cd4b21258 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 23 Jun 2021 12:51:55 -0400 Subject: [PATCH] Use pytest instead of nose (which is deprecated) as the test runner in %%check --- python-sure.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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