def test_upper(self): self.assertEqual(pyas.apple_charset("ABC!"), [0xC1, 0xC2, 0xC3, 0xE1])
def test_lower(self): with self.assertRaises(pyas.Error): pyas.apple_charset("abc")