mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-31 12:03:46 +00:00 
			
		
		
		
	mypy: Broadly specify lambda type parameters in test_events.py.
This commit is contained in:
		
				
					committed by
					
						 Tim Abbott
						Tim Abbott
					
				
			
			
				
	
			
			
			
						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]) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user