forked from pool/python-parameterized
- Add skip_failing_teardown.patch (gh#wolever/parameterized#167)
to overcome failing tearDownModule(). OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parameterized?expand=0&rev=33
This commit is contained in:
@@ -35,6 +35,9 @@ Source: https://files.pythonhosted.org/packages/source/p/parameterized/p
|
||||
# PATCH-FIX-OPENSUSE remove_nose.patch mcepl@suse.com
|
||||
# Remove nose dependency (patch is not very good, DO NOT SEND UPSTREAM!)
|
||||
Patch1: remove_nose.patch
|
||||
# PATCH-FIX-UPSTREAM skip_failing_teardown.patch gh#wolever/parameterized#167 mcepl@suse.com
|
||||
# skip failing assert in tearDownModule [sic]
|
||||
Patch2: skip_failing_teardown.patch
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module wheel}
|
||||
@@ -72,7 +75,9 @@ skip_tests="test_with_docstring_1_v_l_ or test_with_docstring_0_value1"
|
||||
%pytest parameterized/test.py -k "not ($skip_tests)"
|
||||
|
||||
%files %{python_files}
|
||||
%doc CHANGELOG.txt README.rst
|
||||
%doc README.rst
|
||||
# gh#wolever/parameterized#168
|
||||
# %%doc CHANGELOG.txt
|
||||
%license LICENSE.txt
|
||||
%{python_sitelib}/parameterized
|
||||
%{python_sitelib}/parameterized-%{version}*-info
|
||||
|
||||
Reference in New Issue
Block a user