Accepting request 827108 from home:jayvdb:py-submit

Replace nose with pytest

OBS-URL: https://build.opensuse.org/request/show/827108
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-smmap?expand=0&rev=21
This commit is contained in:
Tomáš Chvátal 2020-08-17 06:17:43 +00:00 committed by Git OBS Bridge
parent 5c053362f6
commit 8c2c66a6db
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Aug 16 20:46:09 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
- Replace nose with pytest
-------------------------------------------------------------------
Sun Jun 14 09:32:19 UTC 2020 - Dirk Mueller <dmueller@suse.com>

View File

@ -24,7 +24,7 @@ Summary: A pure git implementation of a sliding window memory map manager
License: BSD-2-Clause
URL: https://github.com/gitpython-developers/smmap
Source: https://files.pythonhosted.org/packages/source/s/smmap/smmap-%{version}.tar.gz
BuildRequires: %{python_module nose}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: dos2unix
BuildRequires: fdupes
@ -55,7 +55,7 @@ dos2unix README.md
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} nosetests-%{$python_bin_suffix} -v
%pytest
%files %{python_files}
%license LICENSE