code: def test_char_position():
      with pytest.raises(
          ValidationError,
          match="End character cannot be placed before the starting character,"
          " it must be at least one character after.",
      ):
          EntitySpan(start=1, end=1, label="label")
  
      text = "I am Maxi"
      ServiceTokenClassificationRecord(
          text=text,
          tokens=text.split(),
          prediction=TokenClassificationAnnotation(
              agent="test",
              entities=[
                  EntitySpan(start=0, end=1, label="test"),
                  EntitySpan(start=2, end=len(text), label="test"),
              ],
          ),
      )
  
imports: import pytest
  from argilla.server.apis.v0.models.token_classification import TokenClassificationAnnotation, TokenClassificationQuery, TokenClassificationRecord
  from argilla.server.commons.models import PredictionStatus
  from argilla.server.daos.backend.search.query_builder import EsQueryBuilder
  from argilla.server.services.tasks.token_classification.model import EntitySpan, ServiceTokenClassificationRecord
  from tests.pydantic_v1 import ValidationError
label_desc: Use image node_id 1 for calling a global function with example usage: test_char_position() without return types