From 1fdc3f29f62f879734b78029c26e4057cd2348d4cf92b762c4e0f2153f923a02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 26 Mar 2020 15:54:57 +0000 Subject: [PATCH] Accepting request 788594 from home:polslinux:branches:devel:languages:python - Switch from nose to pytest OBS-URL: https://build.opensuse.org/request/show/788594 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-glob2?expand=0&rev=5 --- python-glob2.changes | 5 +++++ python-glob2.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/python-glob2.changes b/python-glob2.changes index d72a00f..37fe304 100644 --- a/python-glob2.changes +++ b/python-glob2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 26 13:54:35 UTC 2020 - Paolo Stivanin + +- Switch from nose to pytest + ------------------------------------------------------------------- Wed Jun 19 11:31:17 UTC 2019 - pgajdos@suse.com diff --git a/python-glob2.spec b/python-glob2.spec index 951d7e1..cb925e4 100644 --- a/python-glob2.spec +++ b/python-glob2.spec @@ -1,7 +1,7 @@ # # spec file for package python-glob2 # -# 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 @@ -25,7 +25,7 @@ License: BSD-2-Clause Group: Development/Languages/Python URL: https://pypi.python.org/pypi/glob2 Source: https://files.pythonhosted.org/packages/source/g/glob2/glob2-%{version}.tar.gz -BuildRequires: %{python_module nose} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -55,7 +55,7 @@ module with the following additions: %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec setup.py nosetests +%pytest test.py %files %{python_files} %license LICENSE