From 4d8611f000d5414c6baad5612463cf26f15b50d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20Noord?= <13665637+DanielNoord@users.noreply.github.com> Date: Fri, 30 Sep 2022 12:41:45 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Pierre Sassoulas --- doc/whatsnew/fragments/7528.bugfix | 2 +- tests/functional/m/modified_iterating.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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