From 40ef7a0581ba2038a18d9c5f163081a7aab561e6626ab6d91f08b63cdf35ea5b Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 17 Dec 2020 22:17:13 +0000 Subject: [PATCH] Accepting request 856768 from home:bnavigator:branches:devel:languages:python - Skip the failing test for unused imports on python36 flavor gh#openSUSE/python-rpm-macros#66 OBS-URL: https://build.opensuse.org/request/show/856768 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=116 --- python-pylint.changes | 6 ++++++ python-pylint.spec | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/python-pylint.changes b/python-pylint.changes index 4279823..979dbad 100644 --- a/python-pylint.changes +++ b/python-pylint.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Dec 17 21:43:53 UTC 2020 - Benjamin Greiner + +- Skip the failing test for unused imports on python36 flavor + gh#openSUSE/python-rpm-macros#66 + ------------------------------------------------------------------- Fri Aug 21 10:28:41 UTC 2020 - Michael Ströder diff --git a/python-pylint.spec b/python-pylint.spec index 18a2683..6bbe021 100644 --- a/python-pylint.spec +++ b/python-pylint.spec @@ -102,7 +102,9 @@ export PYTHONPATH=$(pwd) # others must not import from local source dir # gh#PyCQA/pylint#3636 export PYTHONPATH="" -%pytest -k "not test_version" --benchmark-disable +# test_functional[unused_typing_imports] fails in the python36 flavor for TW +python36_skiptest=" or (test_functional and unused_typing_imports)" +%pytest -k "not (test_version ${$python_skiptest})" --benchmark-disable %endif %files %{python_files}