pep8: Add compliance with rule E261 to analytics/tests/test_views.py.

This commit is contained in:
Aditya Bansal 2017-06-01 00:45:43 +05:30 committed by Tim Abbott
parent 09419aa027
commit 061cb9ae44
1 changed files with 2 additions and 2 deletions

View File

@ -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)