class_docstr: Test the functionality provided by vcf.InMemoryVcfReader.
code: def test_query(self, query, expected_variant_indices):
      range1 = ranges.parse_literal(
          query, ranges.contigs_dict(self.header.contigs)
      )
      self.assertEqual(
          list(self.reader.query(range1)),
          [self.variants[i] for i in expected_variant_indices],
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl.testing import absltest
  from absl.testing import parameterized
  from etils import epath
  from third_party.nucleus.io import vcf
  from third_party.nucleus.protos import reference_pb2
  from third_party.nucleus.protos import struct_pb2
  from third_party.nucleus.protos import variants_pb2
  from third_party.nucleus.testing import test_utils
  from third_party.nucleus.util import ranges
label_desc: Use image node_id 4 for calling the InMemoryVcfReaderTests obj's underlying member method code with example usage: obj.test_query(query, expected_variant_indices) without return types