From da342af7ed6c92e9339dab361ab801955b15a5c5 Mon Sep 17 00:00:00 2001 From: Jasmin Bom Date: Wed, 13 Feb 2019 16:04:48 +0100 Subject: [PATCH] Small flake8 fixes --- tests/test_bot.py | 2 +- tests/test_callbackcontext.py | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/test_bot.py b/tests/test_bot.py index bc6490ad5..a1a2522f7 100644 --- a/tests/test_bot.py +++ b/tests/test_bot.py @@ -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 diff --git a/tests/test_callbackcontext.py b/tests/test_callbackcontext.py index 0d0552b88..ce9b8b5df 100644 --- a/tests/test_callbackcontext.py +++ b/tests/test_callbackcontext.py @@ -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' -