From 516f0f1e144af000bb2afb19b4745a46c6c3b4cb Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Tue, 9 Dec 2014 16:08:45 +1100 Subject: [PATCH] * Remove test for loading ad hoc rules format --- tests/test_rules.py | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 tests/test_rules.py diff --git a/tests/test_rules.py b/tests/test_rules.py deleted file mode 100644 index b19a1c3f1..000000000 --- a/tests/test_rules.py +++ /dev/null @@ -1,11 +0,0 @@ -from spacy import util - - -def test_load_en(): - rules = util.read_tokenization('en') - assert len(rules) != 0 - aint = [rule for rule in rules if rule[0] == "ain't"][0] - chunk, pieces = aint - assert chunk == "ain't" - assert pieces[0] == "are" - assert pieces[1] == "not"