mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-12-31 16:40:53 +01:00
Small flake8 fixes
This commit is contained in:
parent
446c54cf8d
commit
da342af7ed
2 changed files with 1 additions and 3 deletions
|
@ -620,7 +620,7 @@ class TestBot(object):
|
|||
# get_sticker_set, upload_sticker_file, create_new_sticker_set, add_sticker_to_set,
|
||||
# set_sticker_position_in_set and delete_sticker_from_set are tested in the
|
||||
# test_sticker module.
|
||||
|
||||
|
||||
def test_timeout_propagation_explicit(self, monkeypatch, bot, chat_id):
|
||||
|
||||
from telegram.vendor.ptb_urllib3.urllib3.util.timeout import Timeout
|
||||
|
|
|
@ -98,7 +98,6 @@ class TestCallbackContext(object):
|
|||
assert callback_context.update_queue is cdp.update_queue
|
||||
|
||||
def test_match(self, cdp):
|
||||
|
||||
callback_context = CallbackContext(cdp)
|
||||
|
||||
assert callback_context.match is None
|
||||
|
@ -106,4 +105,3 @@ class TestCallbackContext(object):
|
|||
callback_context.matches = ['test', 'blah']
|
||||
|
||||
assert callback_context.match == 'test'
|
||||
|
||||
|
|
Loading…
Reference in a new issue