Lines Matching refs:chr
84 self.assertEqual(eval(r""" '\x01' """), chr(1))
85 self.assertEqual(eval(""" '\x01' """), chr(1))
86 self.assertEqual(eval(r""" '\x81' """), chr(0x81))
87 self.assertEqual(eval(""" '\x81' """), chr(0x81))
88 self.assertEqual(eval(r""" '\u1881' """), chr(0x1881))
89 self.assertEqual(eval(""" '\u1881' """), chr(0x1881))
90 self.assertEqual(eval(r""" '\U0001d120' """), chr(0x1d120))
91 self.assertEqual(eval(""" '\U0001d120' """), chr(0x1d120))
114 self.assertEqual(eval(r"'\%c'" % b), '\\' + chr(b))
136 self.assertEqual(eval(""" r'\x01' """), chr(1))
138 self.assertEqual(eval(""" r'\x81' """), chr(0x81))
140 self.assertEqual(eval(""" r'\u1881' """), chr(0x1881))
142 self.assertEqual(eval(""" r'\U0001d120' """), chr(0x1d120))