code: def test_ja_tokenizer_tags(ja_tokenizer, text, expected_tags):
      tags = [token.tag_ for token in ja_tokenizer(text)]
      assert tags == expected_tags
  
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 3 for calling a global function with example usage: test_ja_tokenizer_tags(ja_tokenizer, text, expected_tags) without return types