From c791037166190c62b0c37b1e42db35168ceb1202 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Wed, 20 Jul 2016 14:16:28 -0700 Subject: [PATCH] narrow: Document BuildNarrowFilterTest. --- zerver/lib/narrow.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zerver/lib/narrow.py b/zerver/lib/narrow.py index 8cfdeab6f8..563820222b 100644 --- a/zerver/lib/narrow.py +++ b/zerver/lib/narrow.py @@ -14,6 +14,8 @@ def check_supported_events_narrow_filter(narrow): def build_narrow_filter(narrow): # type: (Iterable[Sequence[text_type]]) -> Callable[[Mapping[str, Any]], bool] + """Changes to this function should come with corresponding changes to + BuildNarrowFilterTest.""" check_supported_events_narrow_filter(narrow) def narrow_filter(event): # type: (Mapping[str, Any]) -> bool