mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-01-05 18:27:22 +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
|
||||
i = 1
|
||||
updates = []
|
||||
while i < (expected_id):
|
||||
for i in range(1, expected_id):
|
||||
updates.append(FakeUpdate(i))
|
||||
i += 1
|
||||
return updates
|
||||
|
|
Loading…
Reference in a new issue