From 181e8e08fa4c6b6aeb593befd284bfd306b50e43 Mon Sep 17 00:00:00 2001 From: Andrew Lin Date: Mon, 11 Nov 2013 13:21:25 -0500 Subject: [PATCH] Remove the tests for metanl_word_frequency too. Doh. Former-commit-id: 68d262791c583ce4d970c64ef2dedd0d5ecd490c --- tests/test_queries.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/tests/test_queries.py b/tests/test_queries.py index bc7e148..a86f6e8 100644 --- a/tests/test_queries.py +++ b/tests/test_queries.py @@ -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),