From b7e167ac39afc6113672d7d5afcd314903cb0071e4614b33f925fe4056b244ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 3 Jun 2020 12:54:07 +0000 Subject: [PATCH] Accepting request 811123 from home:mcalabkova:branches:devel:languages:python - replace nose with pytest OBS-URL: https://build.opensuse.org/request/show/811123 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-memcached?expand=0&rev=32 --- python-python-memcached.changes | 5 +++++ python-python-memcached.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/python-python-memcached.changes b/python-python-memcached.changes index 5c81502..88bd14d 100644 --- a/python-python-memcached.changes +++ b/python-python-memcached.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 3 11:51:18 UTC 2020 - Marketa Calabkova + +- replace nose with pytest + ------------------------------------------------------------------- Wed Jan 9 22:14:36 UTC 2019 - Jonathan Brownell diff --git a/python-python-memcached.spec b/python-python-memcached.spec index abfc654..fa03859 100644 --- a/python-python-memcached.spec +++ b/python-python-memcached.spec @@ -1,7 +1,7 @@ # # spec file for package python-python-memcached # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,7 +27,7 @@ Group: Development/Languages/Python URL: https://github.com/linsomniac/python-memcached Source: https://github.com/linsomniac/python-memcached/archive/%{version}.tar.gz BuildRequires: %{python_module mock} -BuildRequires: %{python_module nose} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} BuildRequires: memcached @@ -69,7 +69,7 @@ sed -i \ %else /usr/sbin/memcached -dv -P $PWD/memcached.pid %endif -%python_expand nosetests-%{$python_bin_suffix} +%pytest kill -9 $(cat $PWD/memcached.pid) %files %{python_files}