mirror of https://github.com/zulip/zulip.git
mypy: Fix an unnecessary duplicate type declaration.
This commit is contained in:
parent
ee61e1be2c
commit
5e3ba1f20f
|
@ -962,7 +962,7 @@ class GetOldMessagesTest(ZulipTestCase):
|
||||||
anchor=next_message_id,
|
anchor=next_message_id,
|
||||||
num_after=10,
|
num_after=10,
|
||||||
num_before=0,
|
num_before=0,
|
||||||
)) # type: Dict[str, Dict]
|
))
|
||||||
self.assertEqual(len(result['messages']), 4)
|
self.assertEqual(len(result['messages']), 4)
|
||||||
messages = result['messages']
|
messages = result['messages']
|
||||||
|
|
||||||
|
@ -983,7 +983,6 @@ class GetOldMessagesTest(ZulipTestCase):
|
||||||
english_message['match_content'],
|
english_message['match_content'],
|
||||||
u'<p>I want to go to <span class="highlight">日本</span>!</p>')
|
u'<p>I want to go to <span class="highlight">日本</span>!</p>')
|
||||||
|
|
||||||
|
|
||||||
@override_settings(USING_PGROONGA=False)
|
@override_settings(USING_PGROONGA=False)
|
||||||
def test_get_messages_with_search_not_subscribed(self):
|
def test_get_messages_with_search_not_subscribed(self):
|
||||||
# type: () -> None
|
# type: () -> None
|
||||||
|
|
Loading…
Reference in New Issue