Skip to content

Commit

Permalink
Update test_text.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ansable committed Jun 4, 2019
1 parent 783ab92 commit dd9a94f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def test_model(self):
v.train("black", "JJ", previous=("the", "DT"), next=("cat", "NN"))
v.train("on", "IN", previous=("sat", "VBD"), next=("the", "DT"))
#This shouldn't fail, but it doesn't fail only in the Python 3.6
#self.assertEqual("JJ", v.classify("slack"))
self.assertEqual("JJ", v.classify("slack"))
self.assertEqual("JJ", v.classify("white", previous=("a", "DT"), next=("cat", "NN")))
self.assertEqual("IN", v.classify("on", previous=("sat", "VBD")))
self.assertEqual("IN", v.classify("on", next=("the", "")))
Expand Down

0 comments on commit dd9a94f

Please sign in to comment.