def test_decode(self): 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')))
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 = u'Šabata' self.assertEqual(data, encoding_utils.decode(data.encode('utf-8')))