diff --git a/tests/core/test_tokenize.py b/tests/core/test_tokenize.py index 569df66e5..e93b3ba5a 100644 --- a/tests/core/test_tokenize.py +++ b/tests/core/test_tokenize.py @@ -411,11 +411,13 @@ def test_longest_custom_dict(self): ["ทดสอบ", " ", "ทดสอบ"], ) self.assertEqual( - word_tokenize("ปวดเฉียบพลัน", engine="longest", custom_dict=dict_trie(["ปวดเฉียบพลัน"])), + word_tokenize( + "ปวดเฉียบพลัน", engine="longest", custom_dict=dict_trie(["ปวดเฉียบพลัน"]) + ), ["ปวดเฉียบพลัน"], ) self.assertEqual( - word_tokenize("ทดสอบทดสอบ", engine="longest", custom_dict=dict_trie(["ทดสอบท"]) ), + word_tokenize("ทดสอบทดสอบ", engine="longest", custom_dict=dict_trie(["ทดสอบท"])), ["ทดสอบท", "ดสอบ"], ) self.assertEqual(