From 9d4da84ab20bd85f9599dfa81322dd37bdbb47eb47771af95c6077a11daaf5b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 21 Aug 2019 14:44:09 +0000 Subject: [PATCH] - 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 --- python-jaraco.functools.changes | 5 +++++ python-jaraco.functools.spec | 11 ++++------- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/python-jaraco.functools.changes b/python-jaraco.functools.changes index a184129..67606d4 100644 --- a/python-jaraco.functools.changes +++ b/python-jaraco.functools.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Aug 21 14:43:51 UTC 2019 - Tomáš Chvátal + +- Skip another test that is randomly failing + ------------------------------------------------------------------- Wed Apr 17 16:02:33 CEST 2019 - Matej Cepl diff --git a/python-jaraco.functools.spec b/python-jaraco.functools.spec index 8582a9a..892f7a2 100644 --- a/python-jaraco.functools.spec +++ b/python-jaraco.functools.spec @@ -23,7 +23,7 @@ Release: 0 Summary: Tools to work with functools License: MIT 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 BuildRequires: %{python_module jaraco.base >= 6.1} BuildRequires: %{python_module jaraco.classes} @@ -38,11 +38,10 @@ BuildRequires: python2-backports.functools_lru_cache BuildRequires: python2-backports.unittest_mock Requires: python-jaraco.base >= 6.1 Requires: python-more-itertools +BuildArch: noarch %ifpython2 Requires: python-backports.functools_lru_cache %endif -BuildArch: noarch - %python_subpackages %description @@ -76,10 +75,8 @@ rm -rf jaraco.functools.egg-info %check # Ignore method_cache doctest because of gh#jaraco/jaraco.functools#12 -%{python_expand py.test-%{$python_bin_suffix} \ - --ignore=_build.python2 --ignore=_build.python3 \ - -k 'not method_cache' -} +# test_function_throttled - can randomly fail +%pytest -k 'not method_cache and not test_function_throttled' %files %{python_files} %license LICENSE