Remove the tests for metanl_word_frequency too. Doh.

Former-commit-id: 68d262791c
This commit is contained in:
Andrew Lin 2013-11-11 13:21:25 -05:00
parent 65f61d8a2e
commit 3340367519

View File

@ -1,7 +1,7 @@
from __future__ import unicode_literals
from nose.tools import eq_, assert_almost_equal, assert_greater
from wordfreq.query import (word_frequency, average_frequency, wordlist_size,
wordlist_info, metanl_word_frequency)
wordlist_info)
def test_freq_examples():
@ -27,11 +27,6 @@ def test_freq_examples():
)
def test_compatibility():
assert_almost_equal(metanl_word_frequency('the|en'), 1e9, places=3)
assert_almost_equal(metanl_word_frequency('the|en', offset=1e9), 2e9, places=3)
def _check_normalized_frequencies(wordlist, lang):
assert_almost_equal(
average_frequency(wordlist, lang) * wordlist_size(wordlist, lang),