diff --git a/python-autoflake.changes b/python-autoflake.changes index 3675b9b..6809e2e 100644 --- a/python-autoflake.changes +++ b/python-autoflake.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 23 14:04:15 UTC 2022 - Matej Cepl + +- Skip failing test for Python 3.10 (gh#PyCQA/autoflake#104) + ------------------------------------------------------------------- Mon Aug 31 04:16:47 UTC 2020 - Steve Kowalik diff --git a/python-autoflake.spec b/python-autoflake.spec index 08f2d1f..79e381f 100644 --- a/python-autoflake.spec +++ b/python-autoflake.spec @@ -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