forked from pool/python-pylint
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
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 17 21:43:53 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- 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 <michael@stroeder.com>
|
Fri Aug 21 10:28:41 UTC 2020 - Michael Ströder <michael@stroeder.com>
|
||||||
|
|
||||||
|
@@ -102,7 +102,9 @@ export PYTHONPATH=$(pwd)
|
|||||||
# others must not import from local source dir
|
# others must not import from local source dir
|
||||||
# gh#PyCQA/pylint#3636
|
# gh#PyCQA/pylint#3636
|
||||||
export PYTHONPATH=""
|
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
|
%endif
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
|
Reference in New Issue
Block a user