mirror of https://github.com/zulip/zulip.git
mypy: Broadly specify lambda type parameters in test_events.py.
This commit is contained in:
parent
aae8a03415
commit
3fd720d8f4
|
@ -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])
|
||||
|
|
Loading…
Reference in New Issue