Skip to content

Commit

Permalink
test_polt inputs fixed
Browse files Browse the repository at this point in the history
conditions input for the test plot should be a list for strings rather than a string
  • Loading branch information
BLaZeKiLL committed Jun 14, 2019
1 parent 3c4bfa0 commit 7d8bef3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nltk/test/unit/test_cfd_mutation.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def test_plot(self):
empty = ConditionalFreqDist()
self.assertEqual(empty.conditions(),[])
try:
empty.plot(conditions="BUG") # nonexistent keys shouldn't be added
empty.plot(conditions=["BUG"]) # nonexistent keys shouldn't be added
except:
pass
self.assertEqual(empty.conditions(),[])
Expand Down

0 comments on commit 7d8bef3

Please sign in to comment.