Use pytest instead of nose (which is deprecated) as the test runner in %%check
This commit is contained in:
parent
396c09865d
commit
b8f5090c97
@ -23,6 +23,7 @@ BuildArch: noarch
|
|||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-mock
|
BuildRequires: python3-mock
|
||||||
BuildRequires: python3-nose
|
BuildRequires: python3-nose
|
||||||
|
BuildRequires: python3-pytest
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
BuildRequires: python3-six
|
BuildRequires: python3-six
|
||||||
|
|
||||||
@ -54,7 +55,7 @@ heavily inspired by should.js.
|
|||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__python3} -m nose --verbosity 2
|
%pytest
|
||||||
|
|
||||||
|
|
||||||
%files -n python3-%{srcname}
|
%files -n python3-%{srcname}
|
||||||
@ -67,6 +68,8 @@ heavily inspired by should.js.
|
|||||||
* Wed Jun 23 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 1.4.11-14
|
* Wed Jun 23 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 1.4.11-14
|
||||||
- Rename %%pypi_name to %%srcname
|
- Rename %%pypi_name to %%srcname
|
||||||
- Switch to GitHub tarball, which includes docs/
|
- 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 <python-maint@redhat.com> - 1.4.11-13
|
* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 1.4.11-13
|
||||||
- Rebuilt for Python 3.10
|
- Rebuilt for Python 3.10
|
||||||
|
Loading…
Reference in New Issue
Block a user