Skip to content

Commit ad41eff

Browse files
committed
fix test
1 parent f025bb3 commit ad41eff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pythainlp/test/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ def testSegmentDict(self):
2222
def testRank(self):
2323
self.assertEqual(rank(["แมว","คน","แมว"]),Counter({'แมว': 2, 'คน': 1}))
2424
def testChange(self):
25-
self.assertEqual(texttothai("l;ylfu8iy["),six.u('สวัสดีครับ'))
25+
self.assertEqual(texttothai("l;ylfu8iy["),'สวัสดีครับ')
2626
def testRomanization(self):
27-
self.assertEqual(romanization("แมว"),six.u('mæw'))
27+
self.assertEqual(romanization("แมว"),'mæw')
2828
def testNumber(self):
29-
self.assertEqual(numtowords(5611116.50),six.u('ห้าล้านหกแสนหนึ่งหมื่นหนึ่งพันหนึ่งร้อยสิบหกบาทห้าสิบสตางค์'))
29+
self.assertEqual(numtowords(5611116.50),'ห้าล้านหกแสนหนึ่งหมื่นหนึ่งพันหนึ่งร้อยสิบหกบาทห้าสิบสตางค์')
3030
def testTag(self):
3131
self.assertEqual(tag("คุณกำลังประชุม"),[('คุณ', 'PPRS'), ('กำลัง', 'XVBM'), ('ประชุม', 'VACT')])
3232
if __name__ == '__main__':

0 commit comments

Comments
 (0)