class_docstr: Test to read data from LIT JSONL format.
class_docstr_tok: ["Test","to","read","data","from","LIT","JSONL","format","."]
code: def test_load_lit_format_indexed(self):
      ds = lit_dataset.load_lit_format(
          get_testdata_path("count_examples.indexed.lit.jsonl"),
      )
      self.assertIsInstance(ds, lit_dataset.IndexedDataset)
      self.assertEqual(self.data_spec, ds.spec())
      self.assertEqual(
          self.indexed_dataset.indexed_examples, ds.indexed_examples
      )
      for original, loaded in zip(self.sample_examples, ds.examples):
          for key in self.indexed_dataset.spec().keys():
              self.assertEqual(original[key], loaded[key])
  
imports: import os
  import types
  from absl.testing import absltest
  from absl.testing import parameterized
  from lit_nlp.api import dataset
  from lit_nlp.api import types
  import numpy
label_desc: Use image node_id 3 for calling the DatasetLoadingTest obj's underlying member method code with example usage: obj.test_load_lit_format_indexed() without return types