forked from pool/python-parameterized
Accepting request 811023 from home:pgajdos:python
- version update to 0.7.4
* Add ``class_name_func`` option to ``@parameterized_class``
* Fix arguments being passed to skip_on_empty_helper (thanks @gaf3;
https://github.com/wolever/parameterized/issues/57)
* Fix tests on Python 3.8.2 (thanks @Ikke;
https://github.com/wolever/parameterized/pull/99)
* Fix some typos (thanks @LWprogramming, @jinnovation;
https://github.com/wolever/parameterized/pull/77,
https://github.com/wolever/parameterized/pull/80)
* Fix unicode handling in setup.py (thanks @sliwinski-milosz;
https://github.com/wolever/parameterized/pull/89)
* Fix Python 3.9 compat (thanks @vstinner;
https://github.com/wolever/parameterized/pull/94)
* Add `@parameterized_class` name function callback support (thanks
@duncwebb et al; https://github.com/wolever/parameterized/pull/74)
- drop dependency on unittest2
OBS-URL: https://build.opensuse.org/request/show/811023
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parameterized?expand=0&rev=16
This commit is contained in:
committed by
Git OBS Bridge
parent
7d01845bb4
commit
f9448678ab
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-parameterized
|
||||
#
|
||||
# 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
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-parameterized
|
||||
Version: 0.7.1
|
||||
Version: 0.7.4
|
||||
Release: 0
|
||||
Summary: Parameterized testing
|
||||
License: BSD-2-Clause
|
||||
@@ -31,12 +31,10 @@ BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module nose2}
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module unittest2}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Suggests: python-nose
|
||||
Suggests: python-nose2
|
||||
Suggests: python-unittest2
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@@ -58,10 +56,8 @@ Not working with supportest "pytest" versions
|
||||
|
||||
%check
|
||||
export LANG=en_US.UTF8
|
||||
# gh#wolever/parameterized#84
|
||||
%{python_expand nosetests-%$python_version}
|
||||
%{python_expand nose2-%$python_version}
|
||||
%{python_expand unit2-%$python_version}
|
||||
%python_exec -m unittest parameterized.test
|
||||
|
||||
%files %{python_files}
|
||||
|
||||
Reference in New Issue
Block a user