Skip to content

Commit df48043

Browse files
committed
Update test_corpus.py
1 parent 02a1063 commit df48043

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_corpus.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def test_ttc(self):
122122

123123
def test_wordnet(self):
124124
nltk.download('omw-1.4', force=True) # load wordnet
125-
self.assertIsInstance(wordnet.langs(), list)
125+
self.assertIsNotNone(wordnet.langs())
126126
self.assertIn("tha", wordnet.langs())
127127

128128
self.assertEqual(

0 commit comments

Comments
 (0)