diff --git a/python-pyquery.changes b/python-pyquery.changes index edd90ea..2b1d0e8 100644 --- a/python-pyquery.changes +++ b/python-pyquery.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Aug 16 16:39:56 UTC 2020 - John Vandenberg + +- Replace nose with pytest + ------------------------------------------------------------------- Sun Nov 24 17:21:55 UTC 2019 - Arun Persaud diff --git a/python-pyquery.spec b/python-pyquery.spec index 038d07d..8e73e93 100644 --- a/python-pyquery.spec +++ b/python-pyquery.spec @@ -1,7 +1,7 @@ # # spec file for package python-pyquery # -# Copyright (c) 2019 SUSE LLC +# 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 @@ -45,7 +45,7 @@ BuildArch: noarch %if %{with test} BuildRequires: %{python_module WebOb > 1.1.9} BuildRequires: %{python_module WebTest} -BuildRequires: %{python_module nose} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module requests} %endif %python_subpackages @@ -70,7 +70,7 @@ XML and HTML manipulation. %if %{with test} %check # Disable tests which perform live fetch -%python_exec -m nose tests -e test_get +%pytest -k 'not test_get' tests %endif %if !%{with test}