Skip to content

Commit

Permalink
remove obsoleted test case
Browse files Browse the repository at this point in the history
  • Loading branch information
mocobeta committed Oct 15, 2017
1 parent c4fa72a commit 4684421
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/test_tokenfilter.py
Expand Up @@ -98,9 +98,6 @@ def test_count_token_filter(self):
self.assertEqual(1, d[u'の'])
self.assertEqual(1, d[u'うち'])

counts = list(map(lambda x: x[1], tf.apply(self.t.tokenize(u'すもももももももものうち'))))
self.assertEqual([1,2,2,1,1], counts)

# sort by frequency
tf = TokenCountFilter(sorted=True)
counts = list(map(lambda x: x[1], tf.apply(self.t.tokenize(u'すもももももももものうち'))))
Expand Down

0 comments on commit 4684421

Please sign in to comment.