From bf554f5f3918285565bc47c6a88e17e26aba3032b0d590f455b65574aacdaba3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 29 May 2020 11:00:56 +0000 Subject: [PATCH] Accepting request 810181 from home:mcalabkova:branches:devel:languages:python - Replace nose with pytest OBS-URL: https://build.opensuse.org/request/show/810181 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmltodict?expand=0&rev=15 --- python-xmltodict.changes | 5 +++++ python-xmltodict.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/python-xmltodict.changes b/python-xmltodict.changes index 857e784..c396c6c 100644 --- a/python-xmltodict.changes +++ b/python-xmltodict.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri May 29 10:34:50 UTC 2020 - Marketa Calabkova + +- Replace nose with pytest + ------------------------------------------------------------------- Sat Apr 6 00:00:15 UTC 2019 - John Vandenberg diff --git a/python-xmltodict.spec b/python-xmltodict.spec index 234e731..5863484 100644 --- a/python-xmltodict.spec +++ b/python-xmltodict.spec @@ -1,7 +1,7 @@ # # spec file for package python-xmltodict # -# 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 @@ -31,7 +31,7 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-xml BuildArch: noarch -BuildRequires: %{python_module nose >= 1.0} +BuildRequires: %{python_module pytest} %python_subpackages %description @@ -54,7 +54,7 @@ export LANG=en_US.UTF-8 %check export LANG=en_US.UTF-8 -%python_expand nosetests-%{$python_bin_suffix} +%pytest %files %{python_files} %license LICENSE