code: def test_validate_not_valid_spans():
      span_utils = SpanUtils("test this.", ["test", "this", "."])
      with pytest.raises(
          ValueError,
          match="Following entity spans are not valid: \[\('mock', 2, 1\)\]\n",
      ):
          span_utils.validate([("mock", 2, 1)])
  
file_path: argilla/tests/unit/utils/test_span_utils.py
imports: import pytest
  from argilla.utils.span_utils import SpanUtils
label_desc: Use image node_id 4 for calling a global function with example usage: test_validate_not_valid_spans() without return types