def test_sentiment_avg(self): # Assert 2.5. from pattern.text import avg v = avg([1, 2, 3, 4]) self.assertEqual(v, 2.5) print "pattern.text.avg"
def test_sentiment_avg(self): # Assert 2.5. if True: raise unittest.SkipTest("FIXME") from pattern.text import avg v = avg([1, 2, 3, 4]) self.assertEqual(v, 2.5) print("pattern.text.avg")
def test_sentiment_avg(self): # Assert 2.5. from pattern.text import avg v = avg([1, 2, 3, 4]) self.assertEqual(v, 2.5) print("pattern.text.avg")