code: def test_simple(self, pipeline):
      results = []
      for text in EN_DOCS:
          doc = pipeline(text)
          assert len(doc.sentences) == 1
          results.append(doc.sentences[0].sentiment)
      assert EXPECTED == results
  
file_path: stanza/stanza/tests/pipeline/test_pipeline_sentiment_processor.py
imports: import pytest
  import stanza
  from stanza.utils.conll import CoNLL
  from stanza.models.common.doc import Document
  from stanza.tests import *
label_desc: Use image node_id 2 for calling the TestSentimentPipeline obj's underlying member method code with example usage: obj.test_simple(pipeline) without return types