ITS: pylint list[START_FRAME:end_point] rm end_point

other changes:
  rm unused 'math' import
  2 spaces before in-line comment

files affected
  test_sensor_fusion.py
  test_video_stabilization.py

bug: 265435893
Change-Id: Idebbba3c0758f1a18486da1dc64412243bfc73f8
diff --git a/apps/CameraITS/tests/sensor_fusion/test_sensor_fusion.py b/apps/CameraITS/tests/sensor_fusion/test_sensor_fusion.py
index 426c0c1..6511c18 100644
--- a/apps/CameraITS/tests/sensor_fusion/test_sensor_fusion.py
+++ b/apps/CameraITS/tests/sensor_fusion/test_sensor_fusion.py
@@ -377,13 +377,13 @@
 
     # Validity check on gyro/camera timestamps
     cam_times = _get_cam_times(
-        events['cam'][_START_FRAME:len(events['cam'])], fps)
+        events['cam'][_START_FRAME:], fps)
     gyro_times = [e['time'] for e in events['gyro']]
     self._assert_gyro_encompasses_camera(cam_times, gyro_times)
 
     # Compute cam rotation displacement(rads) between pairs of adjacent frames.
     cam_rots = sensor_fusion_utils.get_cam_rotations(
-        frames[_START_FRAME:len(frames)], events['facing'], img_h,
+        frames[_START_FRAME:], events['facing'], img_h,
         name_with_log_path, _START_FRAME)
     logging.debug('cam_rots: %s', str(cam_rots))
     gyro_rots = sensor_fusion_utils.get_gyro_rotations(
@@ -429,7 +429,7 @@
       raise AssertionError('Offset too large. Measured (ms): '
                            f'{offset_ms:.3f}, TOL: {_OFFSET_MS_THRESH_MAX}.')
 
-    else: # remove frames if PASS
+    else:  # remove frames if PASS
       temp_files = []
       try:
         temp_files = os.listdir(self.log_path)
diff --git a/apps/CameraITS/tests/sensor_fusion/test_video_stabilization.py b/apps/CameraITS/tests/sensor_fusion/test_video_stabilization.py
index cc2d5ab..44c7ce1 100644
--- a/apps/CameraITS/tests/sensor_fusion/test_video_stabilization.py
+++ b/apps/CameraITS/tests/sensor_fusion/test_video_stabilization.py
@@ -15,7 +15,6 @@
 
 import fnmatch
 import logging
-import math
 import os
 import threading
 import time
@@ -209,7 +208,7 @@
         img_h = frames[0].shape[0]
         file_name_stem = f'{os.path.join(log_path, _NAME)}_{video_quality}'
         cam_rots = sensor_fusion_utils.get_cam_rotations(
-            frames[_START_FRAME:len(frames)], facing, img_h,
+            frames[_START_FRAME:], facing, img_h,
             file_name_stem, _START_FRAME, stabilized_video=True)
         sensor_fusion_utils.plot_camera_rotations(
             cam_rots, _START_FRAME, video_quality, file_name_stem)