From 272bc2a1768c2ce4c0b6b60ebbaee26b90bce5d3152811f4f216ac487452344c Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 16 Aug 2020 17:32:15 +0000 Subject: [PATCH] Accepting request 827033 from home:jayvdb:py-submit Replace nose with pytest OBS-URL: https://build.opensuse.org/request/show/827033 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flatdict?expand=0&rev=6 --- python-flatdict.changes | 5 +++++ python-flatdict.spec | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/python-flatdict.changes b/python-flatdict.changes index c86a9c1..9a832cd 100644 --- a/python-flatdict.changes +++ b/python-flatdict.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Aug 16 13:18:49 UTC 2020 - John Vandenberg + +- Replace nose with pytest + ------------------------------------------------------------------- Fri Feb 28 05:33:22 UTC 2020 - Steve Kowalik diff --git a/python-flatdict.spec b/python-flatdict.spec index 7a5ab1d..ac712a4 100644 --- a/python-flatdict.spec +++ b/python-flatdict.spec @@ -26,7 +26,8 @@ License: BSD-3-Clause URL: https://github.com/gmr/flatdict Source: https://github.com/gmr/flatdict/archive/%{version}.tar.gz#/flatdict-%{version}.tar.gz BuildRequires: %{python_module mock} -BuildRequires: %{python_module nose} +BuildRequires: %{python_module nose2} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -47,7 +48,7 @@ Python module for interacting with nested dicts as a single level dict with deli %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec -m nose +%pytest tests.py %files %{python_files} %doc CHANGELOG.md README.rst