コード例 #1
0
ファイル: test_vector.py プロジェクト: andres-root/pattern
 def test_encode_utf8(self):
     # Assert Python bytestring.
     for s in self.strings:
         self.assertTrue(isinstance(vector.encode_utf8(s), str))
     print("pattern.vector.encode_utf8()")
コード例 #2
0
ファイル: test_vector.py プロジェクト: xu-hong/pattern
 def test_encode_utf8(self):
     # Assert Python bytestring.
     for s in self.strings:
         self.assertTrue(isinstance(vector.encode_utf8(s), str))
     print "pattern.vector.encode_utf8()"