From 3fd720d8f4c2d5a3a76bc1aa76ba5bf24aa7d42b Mon Sep 17 00:00:00 2001 From: "neiljp (Neil Pilgrim)" Date: Thu, 2 Nov 2017 10:40:47 -0700 Subject: [PATCH] mypy: Broadly specify lambda type parameters in test_events.py. --- zerver/tests/test_events.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zerver/tests/test_events.py b/zerver/tests/test_events.py index 6239364018..71eaeecd85 100644 --- a/zerver/tests/test_events.py +++ b/zerver/tests/test_events.py @@ -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])