def test_decode(self):
     data = u'Šabata'
     self.assertEqual(data, encoding_utils.decode(data.encode('utf-8')))
示例#2
0
 def test_decode(self):
     """ Test encoding_utils.decode() """
     data = 'Šabata'
     self.assertEqual(data, encoding_utils.decode(data.encode('utf-8')))
 def test_decode(self):
     """ Test encoding_utils.decode() """
     data = "Šabata"
     self.assertEqual(data, encoding_utils.decode(data.encode("utf-8")))
示例#4
0
 def test_decode(self):
     """ Test encoding_utils.decode() """
     data = u'Šabata'
     self.assertEqual(data, encoding_utils.decode(data.encode('utf-8')))
 def test_decode(self):
     """ Test encoding_utils.decode() """
     data = "Šabata"
     self.assertEqual(data, encoding_utils.decode(data.encode("utf-8")))