diff --git a/analytics/tests/test_views.py b/analytics/tests/test_views.py index bde11b2620..c0b5d8779d 100644 --- a/analytics/tests/test_views.py +++ b/analytics/tests/test_views.py @@ -262,7 +262,7 @@ class TestGetChartDataHelpers(ZulipTestCase): def test_sort_by_totals(self): # type: () -> None - empty = [] # type: List[int] + empty = [] # type: List[int] value_arrays = {'c': [0, 1], 'a': [9], 'b': [1, 1, 1], 'd': empty} self.assertEqual(sort_by_totals(value_arrays), ['a', 'b', 'c', 'd']) @@ -277,7 +277,7 @@ class TestTimeRange(ZulipTestCase): # type: () -> None HOUR = timedelta(hours=1) DAY = timedelta(days=1) - TZINFO = get_fixed_timezone(-100) # 100 minutes west of UTC + TZINFO = get_fixed_timezone(-100) # 100 minutes west of UTC # Using 22:59 so that converting to UTC and applying floor_to_{hour,day} do not commute a_time = datetime(2016, 3, 14, 22, 59).replace(tzinfo=TZINFO)