Lines Matching refs:chr
85 self.assertEqual(eval(r""" '\x01' """), chr(1))
86 self.assertEqual(eval(""" '\x01' """), chr(1))
87 self.assertEqual(eval(r""" '\x81' """), chr(0x81))
88 self.assertEqual(eval(""" '\x81' """), chr(0x81))
89 self.assertEqual(eval(r""" '\u1881' """), chr(0x1881))
90 self.assertEqual(eval(""" '\u1881' """), chr(0x1881))
91 self.assertEqual(eval(r""" '\U0001d120' """), chr(0x1d120))
92 self.assertEqual(eval(""" '\U0001d120' """), chr(0x1d120))
115 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))