mypy: Broadly specify lambda type parameters in test_events.py.

This commit is contained in:
neiljp (Neil Pilgrim) 2017-11-02 10:40:47 -07:00 committed by Tim Abbott
parent aae8a03415
commit 3fd720d8f4
1 changed files with 1 additions and 1 deletions

View File

@ -1617,7 +1617,7 @@ class EventsRegisterTest(ZulipTestCase):
])
# Subscribe to a totally new stream, so it's just Hamlet on it
action = lambda: self.subscribe(self.example_user("hamlet"), "test_stream") # type: Callable
action = lambda: self.subscribe(self.example_user("hamlet"), "test_stream") # type: Callable[[], Any]
events = self.do_test(action, event_types=["subscription", "realm_user"],
include_subscribers=include_subscribers)
error = add_schema_checker('events[0]', events[0])