code: def test_inspect_long_samples():
      # Arrange
      dataset = TextData(
          label=[0, 1, 2],
          task_type="text_classification",
          raw_text=[
              " ".join(["aa"] * 500),
              " ".join(["aa"] * 500),
              " ".join(["aa"] * 600),
          ],
      )
      check = ConflictingLabels()
  
      # Act
      result = check.run(dataset=dataset)
  
      # Assert
      assert_that(
          result.value,
          has_entries(
              {
                  "percent_of_conflicting_samples": close_to(
                      0.66, 0.01
                  ),
                  "conflicting_samples": instance_of(pd.DataFrame),
              }
          ),
      )
  
imports: import typing
  import pandas
  import pytest
  from hamcrest import *
  from deepchecks.nlp.checks import ConflictingLabels
  from deepchecks.nlp.text_data import TextData
  from deepchecks.utils.strings import format_percent
  from tests.base.utils import equal_condition_result
label_desc: Use image node_id 9 for calling a global function with example usage: test_inspect_long_samples() without return types