- Skip another test that is randomly failing

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jaraco.functools?expand=0&rev=8
This commit is contained in:
Tomáš Chvátal 2019-08-21 14:44:09 +00:00 committed by Git OBS Bridge
parent fb7293597b
commit 9d4da84ab2
2 changed files with 9 additions and 7 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Aug 21 14:43:51 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Skip another test that is randomly failing
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Apr 17 16:02:33 CEST 2019 - Matej Cepl <mcepl@suse.com> Wed Apr 17 16:02:33 CEST 2019 - Matej Cepl <mcepl@suse.com>

View File

@ -23,7 +23,7 @@ Release: 0
Summary: Tools to work with functools Summary: Tools to work with functools
License: MIT License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
Url: https://github.com/jaraco/jaraco.functools URL: https://github.com/jaraco/jaraco.functools
Source0: https://files.pythonhosted.org/packages/source/j/jaraco.functools/jaraco.functools-%{version}.tar.gz Source0: https://files.pythonhosted.org/packages/source/j/jaraco.functools/jaraco.functools-%{version}.tar.gz
BuildRequires: %{python_module jaraco.base >= 6.1} BuildRequires: %{python_module jaraco.base >= 6.1}
BuildRequires: %{python_module jaraco.classes} BuildRequires: %{python_module jaraco.classes}
@ -38,11 +38,10 @@ BuildRequires: python2-backports.functools_lru_cache
BuildRequires: python2-backports.unittest_mock BuildRequires: python2-backports.unittest_mock
Requires: python-jaraco.base >= 6.1 Requires: python-jaraco.base >= 6.1
Requires: python-more-itertools Requires: python-more-itertools
BuildArch: noarch
%ifpython2 %ifpython2
Requires: python-backports.functools_lru_cache Requires: python-backports.functools_lru_cache
%endif %endif
BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
@ -76,10 +75,8 @@ rm -rf jaraco.functools.egg-info
%check %check
# Ignore method_cache doctest because of gh#jaraco/jaraco.functools#12 # Ignore method_cache doctest because of gh#jaraco/jaraco.functools#12
%{python_expand py.test-%{$python_bin_suffix} \ # test_function_throttled - can randomly fail
--ignore=_build.python2 --ignore=_build.python3 \ %pytest -k 'not method_cache and not test_function_throttled'
-k 'not method_cache'
}
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE