diff --git a/python-wikipedia.changes b/python-wikipedia.changes index ac77396..a668e31 100644 --- a/python-wikipedia.changes +++ b/python-wikipedia.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri May 29 10:59:02 UTC 2020 - Marketa Calabkova + +- Replace nose with pytest + ------------------------------------------------------------------- Tue Dec 4 12:56:05 UTC 2018 - Matej Cepl diff --git a/python-wikipedia.spec b/python-wikipedia.spec index 7e50f4d..a699967 100644 --- a/python-wikipedia.spec +++ b/python-wikipedia.spec @@ -1,7 +1,7 @@ # # spec file for package python-wikipedia # -# 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 @@ -26,7 +26,7 @@ Group: Development/Languages/Python URL: https://github.com/goldsmith/Wikipedia Source: https://files.pythonhosted.org/packages/source/w/wikipedia/wikipedia-%{version}.tar.gz BuildRequires: %{python_module beautifulsoup4} -BuildRequires: %{python_module nose} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module requests} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros @@ -55,7 +55,7 @@ Wikipedia data, not getting it. %check ln -s tests/request_mock_data.py . -%python_expand nosetests-%{$python_bin_suffix} +%pytest %files %{python_files} %license LICENSE