code: def test_n_sents(doc):
      n_obs = basics.n_sents(doc)
      assert n_obs == 1
  
file_path: textacy/tests/text_stats/test_basics.py
imports: import pytest
  from textacy import extract
  from textacy import make_spacy_doc
  from textacy.text_stats import basics
label_desc: Use image node_id 12 for calling a global function with example usage: test_n_sents(doc) without return types