code: def test_en_pdf_type(text, expected_sents):
      """SBD tests from Pragmatic Segmenter for doctype:pdf"""
      seg = pysbd.Segmenter(language="en", clean=True, doc_type="pdf")
      segments = seg.segment(text)
      segments = [s.strip() for s in segments]
      assert segments == expected_sents
  
file_path: pySBD/tests/test_segmenter.py
imports: import pytest
  import pysbd
  from pysbd.utils import TextSpan
label_desc: Use image node_id 10 for calling a global function with example usage: test_en_pdf_type(text, expected_sents) without return types