mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-03-25 00:07:41 +01:00
replace while for for
This commit is contained in:
parent
0e51e780b6
commit
def6755935
1 changed files with 1 additions and 1 deletions
|
@ -368,7 +368,7 @@ class TestUpdater:
|
||||||
# update_id's 1, 2 and 3
|
# update_id's 1, 2 and 3
|
||||||
i = 1
|
i = 1
|
||||||
updates = []
|
updates = []
|
||||||
while i < (expected_id):
|
for i in range(1, expected_id):
|
||||||
updates.append(FakeUpdate(i))
|
updates.append(FakeUpdate(i))
|
||||||
i += 1
|
i += 1
|
||||||
return updates
|
return updates
|
||||||
|
|
Loading…
Add table
Reference in a new issue