Lines Matching refs:chr
83 self.assertEqual(eval(r""" '\x01' """), chr(1))
84 self.assertEqual(eval(""" '\x01' """), chr(1))
85 self.assertEqual(eval(r""" '\x81' """), chr(0x81))
86 self.assertEqual(eval(""" '\x81' """), chr(0x81))
87 self.assertEqual(eval(r""" '\u1881' """), chr(0x1881))
88 self.assertEqual(eval(""" '\u1881' """), chr(0x1881))
89 self.assertEqual(eval(r""" '\U0001d120' """), chr(0x1d120))
90 self.assertEqual(eval(""" '\U0001d120' """), chr(0x1d120))
113 self.assertEqual(eval(r"'\%c'" % b), '\\' + chr(b))
135 self.assertEqual(eval(""" r'\x01' """), chr(1))
137 self.assertEqual(eval(""" r'\x81' """), chr(0x81))
139 self.assertEqual(eval(""" r'\u1881' """), chr(0x1881))
141 self.assertEqual(eval(""" r'\U0001d120' """), chr(0x1d120))