code: def test_ja_tokenizer_sents(ja_tokenizer, text, expected_sents):
      sents = [str(sent) for sent in ja_tokenizer(text).sents]
      assert sents == expected_sents
  
file_path: spacy/spacy/tests/lang/ja/test_tokenizer.py
imports: import pytest
  from spacy.lang.ja import DetailedToken, Japanese
  from ...tokenizer.test_naughty_strings import NAUGHTY_STRINGS
label_desc: Use image node_id 5 for calling a global function with example usage: test_ja_tokenizer_sents(ja_tokenizer, text, expected_sents) without return types