code: def test_invalid_all_variants_compatible(
      self, variants, nonref_counts
  ):
      calculator = haplotypes._VariantCompatibilityCalculator(variants)
      with self.assertRaisesRegex(ValueError, "variant"):
          calculator.all_variants_compatible(nonref_counts)
  
imports: import types
  from absl import flags
  from absl.testing import absltest
  from absl.testing import flagsaver
  from absl.testing import parameterized
  import numpy
  from third_party.nucleus.testing import test_utils
  from deepvariant import haplotypes
label_desc: Use image node_id 6 for calling the ResolveOverlappingVariantsTest obj's underlying member method code with example usage: obj.test_invalid_all_variants_compatible(variants, nonref_counts) without return types