Skip to content

Commit 58a3c91

Browse files
committed
add another test case
1 parent 5639edf commit 58a3c91

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/functional/u/unnecessary/unnecessary_list_index_lookup.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,3 +144,8 @@ def _get_extra_attrs(self, extra_columns):
144144
self.extra_rows_start = 8 # pylint: disable=attribute-defined-outside-init
145145
for index, column in enumerate(extra_columns, start=self.extra_rows_start):
146146
pass
147+
148+
Y_START = 2
149+
nums = list(range(20))
150+
for y, x in enumerate(nums, start=Y_START + 1):
151+
pass

0 commit comments

Comments
 (0)