code: def test_candidates_to_windows(self, candidates, expected_ranges):
      self.assertEqual(
          window_selector._candidates_to_windows(
              self.config, candidates, "ref"
          ),
          expected_ranges,
      )
  
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 10 for calling the WindowSelectorTest obj's underlying member method code with example usage: obj.test_candidates_to_windows(candidates, expected_ranges) without return types