From e906f127f00d6270754db7694eff16f29156a658027eb287bfd66deac35e654a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 8 Jun 2020 14:30:17 +0000 Subject: [PATCH] Accepting request 812643 from home:mcalabkova:branches:devel:languages:python - replace nose with unittest OBS-URL: https://build.opensuse.org/request/show/812643 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ptyprocess?expand=0&rev=13 --- python-ptyprocess.changes | 5 +++++ python-ptyprocess.spec | 10 +++------- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/python-ptyprocess.changes b/python-ptyprocess.changes index 1c24afd..fb60c46 100644 --- a/python-ptyprocess.changes +++ b/python-ptyprocess.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 8 14:14:04 UTC 2020 - Marketa Calabkova + +- replace nose with unittest + ------------------------------------------------------------------- Tue Dec 4 12:51:47 UTC 2018 - Matej Cepl diff --git a/python-ptyprocess.spec b/python-ptyprocess.spec index 5570a00..f78b784 100644 --- a/python-ptyprocess.spec +++ b/python-ptyprocess.spec @@ -1,7 +1,7 @@ # # spec file for package python-ptyprocess # -# Copyright (c) 2018 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 @@ -23,16 +23,12 @@ Release: 0 Summary: Run a subprocess in a pseudo terminal License: ISC Group: Development/Languages/Python -Url: https://github.com/pexpect/ptyprocess +URL: https://github.com/pexpect/ptyprocess Source: https://files.pythonhosted.org/packages/source/p/ptyprocess/ptyprocess-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -# SECTION test requirements -BuildRequires: %{python_module nose} -# /SECTION BuildArch: noarch - %python_subpackages %description @@ -56,7 +52,7 @@ If you need to automate these things, running the process in a pseudo terminal %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_expand nosetests-%{$python_bin_suffix} +%python_exec -m unittest discover %files %{python_files} %doc README.rst