class_docstr: Test the BaseFileHandler.
class_docstr_tok: ["Test","the","BaseFileHandler","."]
docstr: Combine times in 'time_parameters.
docstr_tok: ["Combine","times","in","'time_parameters","."]
code: def test_combine_time_parameters(self):
      """Combine times in 'time_parameters."""
      time_params1 = {
          "nominal_start_time": datetime(2020, 1, 1, 12, 0, 0),
          "nominal_end_time": datetime(2020, 1, 1, 12, 2, 30),
          "observation_start_time": datetime(
              2020, 1, 1, 12, 0, 2, 23821
          ),
          "observation_end_time": datetime(
              2020, 1, 1, 12, 2, 23, 12348
          ),
      }
      time_params2 = {}
      time_shift = timedelta(seconds=1.5)
      for key, value in time_params1.items():
          time_params2[key] = value + time_shift
      res = self.fh.combine_info(
          [
              {"time_parameters": time_params1},
              {"time_parameters": time_params2},
          ]
      )
      res_time_params = res["time_parameters"]
      assert res_time_params["nominal_start_time"] == datetime(
          2020, 1, 1, 12, 0, 0
      )
      assert res_time_params["nominal_end_time"] == datetime(
          2020, 1, 1, 12, 2, 31, 500000
      )
      assert res_time_params["observation_start_time"] == datetime(
          2020, 1, 1, 12, 0, 2, 23821
      )
      assert res_time_params["observation_end_time"] == datetime(
          2020, 1, 1, 12, 2, 24, 512348
      )
  
file_path: satpy/satpy/tests/test_file_handlers.py
imports: import unittest
  from datetime import datetime, timedelta
  from unittest import mock
  import numpy
  import pytest
  from satpy.readers.file_handlers import BaseFileHandler, open_dataset
  from satpy.tests.utils import FakeFileHandler
label_desc: Use image node_id 6 for calling the TestBaseFileHandler obj's underlying member method code with example usage: obj.test_combine_time_parameters() without return types