diff --git a/doc/whatsnew/fragments/7528.bugfix b/doc/whatsnew/fragments/7528.bugfix index 4129aec691..b06bf1570d 100644 --- a/doc/whatsnew/fragments/7528.bugfix +++ b/doc/whatsnew/fragments/7528.bugfix @@ -1,3 +1,3 @@ -Fix bug in getting name attribute from Attribute node. +Fixed a crash of the ``modified_iterating`` checker when iterating on a set defined as a class attribute. Closes #7528 diff --git a/tests/functional/m/modified_iterating.py b/tests/functional/m/modified_iterating.py index f7e977c240..f17c34b6ee 100644 --- a/tests/functional/m/modified_iterating.py +++ b/tests/functional/m/modified_iterating.py @@ -1,5 +1,5 @@ """Tests for iterating-modified messages""" -# pylint: disable=not-callable,unnecessary-comprehension,too-few-public-methods, missing-class-docstring, missing-function-docstring +# pylint: disable=not-callable,unnecessary-comprehension,too-few-public-methods,missing-class-docstring,missing-function-docstring import copy from enum import Enum