From e602ca773ec036cd5dcd5fc8d3c33b39df4f8e737b5d0693f34cd5a7ec73b61d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 9 Jun 2020 07:56:10 +0000 Subject: [PATCH] Accepting request 812793 from home:mcalabkova:branches:devel:languages:python - replace nose with pytest OBS-URL: https://build.opensuse.org/request/show/812793 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pamqp?expand=0&rev=18 --- python-pamqp.changes | 5 +++++ python-pamqp.spec | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/python-pamqp.changes b/python-pamqp.changes index df8022f..a8145fc 100644 --- a/python-pamqp.changes +++ b/python-pamqp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 9 07:24:28 UTC 2020 - Marketa Calabkova + +- replace nose with pytest + ------------------------------------------------------------------- Thu Apr 23 10:35:35 UTC 2020 - Tomáš Chvátal diff --git a/python-pamqp.spec b/python-pamqp.spec index 6006350..ee86d6d 100644 --- a/python-pamqp.spec +++ b/python-pamqp.spec @@ -26,7 +26,7 @@ License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/gmr/pamqp Source: https://github.com/gmr/pamqp/archive/%{version}.tar.gz -BuildRequires: %{python_module nose} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -60,8 +60,7 @@ encoding should be run through the pamqp.frame module. %check # for python 2.7 has to 'always' be there, for python 3.7 'default' is enough export PYTHONWARNINGS=always -# test_decode_embedded_value_long_uint_data_type https://github.com/gmr/pamqp/issues/11 -%python_expand nosetests-%{$python_bin_suffix} tests/ -e 'test_decode_embedded_value_long_uint_data_type' +%pytest tests/* %files %{python_files} %license LICENSE