code: def test_candidates_from_reads_position_invariance(
      self, read, region_start, region_end, expected
  ):
      # Tests that a read with a mismatch at position read_start + 1 produces a
      # single candidate position at read_start + 1 regardless of where it occurs
      # within a single region spanning region_start - region_end.
      self.assertCandidatesFromReadsEquals(
          reads=[read],
          expected=expected,
          start=region_start,
          end=region_end,
      )
  
imports: from absl.testing import absltest
  from absl.testing import parameterized
  from third_party.nucleus.io import fasta
  from third_party.nucleus.testing import test_utils
  from third_party.nucleus.util import ranges
  from deepvariant.protos import realigner_pb2
  from deepvariant.realigner import window_selector
label_desc: Use image node_id 5 for calling the WindowSelectorTest obj's underlying member method code with example usage: obj.test_candidates_from_reads_position_invariance(read, region_start, region_end, expected) without return types