Skip to content

Commit

Permalink
Fix PEP8 in test_tokenize.py
Browse files Browse the repository at this point in the history
  • Loading branch information
wannaphong committed May 16, 2022
1 parent 0a721e2 commit 1a51c73
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_tokenize.py
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,10 @@ def test_nercut(self):
self.assertEqual(nercut.segment("%1ครั้ง"), ['%', '1', 'ครั้ง'])
self.assertEqual(nercut.segment("ทุ๊กกโคนน"), ['ทุ๊กกโคนน'])
self.assertEqual(nercut.segment("อือหือ"), ['อือ', 'หือ'])
self.assertEqual(nercut.segment("อย่าลืมอัพการ์ดนะจ๊ะ"), ['อย่าลืมอัพการ์ดนะจ๊ะ'])
self.assertEqual(
nercut.segment("อย่าลืมอัพการ์ดนะจ๊ะ"),
['อย่าลืมอัพการ์ดนะจ๊ะ']
)
self.assertIsNotNone(word_tokenize("ทดสอบ", engine="nercut"))

def test_ssg(self):
Expand Down

0 comments on commit 1a51c73

Please sign in to comment.