mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-01-03 17:52:31 +01:00
swap valueerror for runtimeerror
This commit is contained in:
parent
def6755935
commit
6b2c229a49
1 changed files with 1 additions and 1 deletions
|
@ -345,7 +345,7 @@ class TestUpdater:
|
|||
|
||||
# case inf loop protection
|
||||
if self.update_id > 10:
|
||||
raise ValueError
|
||||
raise RuntimeError('Looks like we are hitting an infinity loop. Stopping.')
|
||||
|
||||
# case 2
|
||||
if len(args) > 0:
|
||||
|
|
Loading…
Reference in a new issue