Small flake8 fixes

This commit is contained in:
Jasmin Bom 2019-02-13 16:04:48 +01:00
parent 446c54cf8d
commit da342af7ed
2 changed files with 1 additions and 3 deletions

View file

@ -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

View file

@ -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'