code: def test_label_ambiguity_single_column():
      # Arrange
      data = {
          "col1": [1, 1, 1, 2, 2, 2] * 100,
          "label": [1, 1, 2, 2, 3, 4] * 100,
      }
      dataframe = pd.DataFrame(data)
      ds = Dataset(dataframe, label="label")
      check = ConflictingLabels()
  
      # Act
      result = check.run(ds)
  
      # Assert
      assert_that(
          result.value,
          has_entries(
              {
                  "percent_of_conflicting_samples": equal_to(1),
                  "samples_indices": instance_of(list),
              }
          ),
      )
  
file_path: deepchecks/tests/tabular/checks/integrity/conflicting_labels_test.py
imports: import pandas
  from hamcrest import assert_that, close_to, equal_to, has_entries, has_items, has_length, instance_of
  from deepchecks.tabular.checks.data_integrity import ConflictingLabels
  from deepchecks.tabular.dataset import Dataset
  from tests.base.utils import equal_condition_result
label_desc: Use image node_id 7 for calling a global function with example usage: test_label_ambiguity_single_column() without return types