code: def test_analyze(self):
      p1 = "I feel great this morning."
      n1 = "This is a terrible car."
      p1_result = self.analyzer.analyze(p1)
      n1_result = self.analyzer.analyze(n1)
      assert_true(p1_result[0] > 0)
      assert_true(n1_result[0] < 0)
      assert_equal(p1_result.polarity, p1_result[0])
      assert_equal(p1_result.subjectivity, p1_result[1])
  
file_path: TextBlob/tests/test_sentiments.py
imports: from __future__ import unicode_literals
  import unittest
  from nose.tools import *
  from nose.plugins.attrib import attr
  from textblob.sentiments import PatternAnalyzer, NaiveBayesAnalyzer, DISCRETE, CONTINUOUS
label_desc: Use image node_id 3 for calling the TestPatternSentiment obj's underlying member method code with example usage: obj.test_analyze() without return types