Skip to content

Commit ba18c70

Browse files
committed
Remove spurious snippet
1 parent d74b29a commit ba18c70

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

nltk/test/unit/test_wordnet.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -245,13 +245,6 @@ def test_iterable_type_for_all_lemma_names(self):
245245
self.assertTrue(hasattr(cat_lemmas, "__next__") or hasattr(eng_lemmas, "next"))
246246
self.assertTrue(cat_lemmas.__iter__() is cat_lemmas)
247247

248-
def test_en_ptb_tags(self):
249-
# Common PTB tags (mapped in both PTB and Brown)
250-
self.assertEqual(wn.tag2pos("NN"), "n") # noun
251-
self.assertEqual(wn.tag2pos("VB"), "v") # verb
252-
self.assertEqual(wn.tag2pos("JJ"), "a") # adjective
253-
self.assertEqual(wn.tag2pos("RB"), "r") # adverb
254-
255248
def test_en_ptb_tags(self):
256249
# Common PTB tags (mapped in both PTB and Brown)
257250
self.assertEqual(wn.tag2pos("NN"), "n") # noun

0 commit comments

Comments
 (0)