forked from pool/python-autoflake
- Skip failing test for Python 3.10 (gh#PyCQA/autoflake#104)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-autoflake?expand=0&rev=14
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 23 14:04:15 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Skip failing test for Python 3.10 (gh#PyCQA/autoflake#104)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 31 04:16:47 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-autoflake
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -30,7 +30,7 @@ BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-pyflakes >= 1.1.0
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
BuildArch: noarch
|
||||
BuildRequires: %{python_module pyflakes >= 1.1.0}
|
||||
%python_subpackages
|
||||
@@ -63,7 +63,9 @@ autoflake also removes useless pass statements.
|
||||
|
||||
%check
|
||||
export $LANG=en_US.UTF-8
|
||||
%pytest
|
||||
# gh#PyCQA/autoflake#104
|
||||
python310_skiptests='not test_is_literal_or_name'
|
||||
%pytest -k "${$python_skiptests}"
|
||||
|
||||
%post
|
||||
%python_install_alternative autoflake
|
||||
|
||||
Reference in New Issue
Block a user