replace while for for

This commit is contained in:
ikkemaniac 2020-06-20 23:02:13 +02:00
parent 0e51e780b6
commit def6755935

View file

@ -368,7 +368,7 @@ class TestUpdater:
# update_id's 1, 2 and 3
i = 1
updates = []
while i < (expected_id):
for i in range(1, expected_id):
updates.append(FakeUpdate(i))
i += 1
return updates