From 205b5a1a64e0f194c3fe674376d94e9bc2cf49f53911ed89e834f0cfa527bd08 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:53:49 +0000 Subject: [PATCH] Accepting request 811096 from home:mcalabkova:branches:devel:languages:python - replace nose with pytest OBS-URL: https://build.opensuse.org/request/show/811096 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rpyc?expand=0&rev=19 --- python-rpyc.changes | 5 +++++ python-rpyc.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-rpyc.changes b/python-rpyc.changes index b5b57f1..b6ba33d 100644 --- a/python-rpyc.changes +++ b/python-rpyc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 3 10:33:48 UTC 2020 - Marketa Calabkova + +- replace nose with pytest + ------------------------------------------------------------------- Fri May 15 11:29:23 UTC 2020 - Tomáš Chvátal diff --git a/python-rpyc.spec b/python-rpyc.spec index 32e08c7..b01a8ce 100644 --- a/python-rpyc.spec +++ b/python-rpyc.spec @@ -42,8 +42,8 @@ Requires(postun): update-alternatives BuildArch: noarch %if %{with test} BuildRequires: %{python_module gevent} -BuildRequires: %{python_module nose} BuildRequires: %{python_module plumbum >= 1.2} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module rpyc = %{version}} %endif %python_subpackages @@ -76,7 +76,7 @@ mv %{buildroot}%{_bindir}/rpyc_registry.py %{buildroot}%{_bindir}/rpyc_registry %if %{with test} %check -%python_expand nosetests-%{$python_bin_suffix} -v -I test_deploy -I test_gevent_server -I test_ssh -I test_registry -I test_win32pipes +%pytest -k 'not (TestDeploy or Test_Ssh or TestUdpRegistry or win32pipes)' %endif %if !%{with test}