diff --git a/python-pylint.spec b/python-pylint.spec index b9db51c..4c2228a 100644 --- a/python-pylint.spec +++ b/python-pylint.spec @@ -65,6 +65,8 @@ feature. %prep %setup -q -n pylint-%{version} +# https://github.com/PyCQA/pylint/issues/2499 +rm -f pylint/test/functional/using_constant_test.py %build %python_build @@ -85,7 +87,8 @@ done %python_uninstall_alternative pylint %check -%python_expand PYTHONPATH="%{buildroot}%{$python_sitelib}" py.test-%{$python_bin_suffix} pylint/test/ +# unused_typing_imports: https://github.com/PyCQA/pylint/issues/2500 +%python_expand PYTHONPATH="%{buildroot}%{$python_sitelib}" py.test-%{$python_bin_suffix} pylint/test/ -k 'not unused_typing_imports' %files %{python_files} %license COPYING