class_docstr: Main test class for the LI L2 reader.
class_docstr_tok: ["Main","test","class","for","the","LI","L2","reader","."]
docstr: Test overridden combine_info.
docstr_tok: ["Test","overridden","combine_info","."]
code: def test_combine_info(self, filetype_infos):
      """Test overridden combine_info."""
      handler = LIL2NCFileHandler(
          "filename",
          {},
          extract_filetype_info(filetype_infos, "li_l2_le_nc"),
      )
  
      # get a dataset including the index_offset in the ds_info
      dsid = make_dataid(name="l1b_chunk_offsets_north_sector")
      ds_info = {
          "name": "l1b_chunk_offsets_north_sector",
          "variable_name": "l1b_chunk_offsets",
          "sector_name": "north",
          "__index_offset": 1000,
          "accumulate_index_offset": "{sector_name}/l1b_window",
      }
      dset = handler.get_dataset(dsid, ds_info=ds_info)
      handler.combine_info([dset.attrs])
      # combine_info should have removed the index_offset key from the ds_info passed to get_dataset
      assert "__index_offset" not in ds_info
      # and reset the current_ds_info dict, in order to avoid failures if we call combine_info again
      assert handler.current_ds_info is None
  
imports: import os
  from datetime import datetime
  from unittest import mock
  import numpy
  import pytest
  import xarray
  from pyproj import Proj
  from satpy._config import config_search_paths
  from satpy.readers.li_base_nc import LINCFileHandler
  from satpy.readers.li_l2_nc import LI_GRID_SHAPE, LIL2NCFileHandler
  from satpy.readers.yaml_reader import load_yaml_configs
  from satpy.tests.reader_tests._li_test_utils import FakeLIFileHandlerBase, extract_filetype_info, get_product_schema, products_dict
  from satpy.tests.utils import make_dataid
label_desc: Use image node_id 22 for calling the TestLIL2 obj's underlying member method code with example usage: obj.test_combine_info(filetype_infos) without return types