code: def test_sbd_char_span(en_no_clean_with_span_fixture, text, expected):
      """Test sentences with character offsets"""
      segments = en_no_clean_with_span_fixture.segment(text)
      expected_text_spans = [
          TextSpan(sent_w_span[0], sent_w_span[1], sent_w_span[2])
          for sent_w_span in expected
      ]
      assert segments == expected_text_spans
      # clubbing sentences and matching with original text
      assert text == "".join([seg.sent for seg in segments])
  
file_path: pySBD/tests/test_segmenter.py
imports: import pytest
  import pysbd
  from pysbd.utils import TextSpan
label_desc: Use image node_id 5 for calling a global function with example usage: test_sbd_char_span(en_no_clean_with_span_fixture, text, expected) without return types