def test_complex(self, s): self.assertEqual(repr(s), brepr(s)) self.assertEqual(repr(s), prepr(s)) self.assertEqual(repr(s), urepr(s))
def test_bool(self, s): self.assertEqual(repr(s), brepr(s)) self.assertEqual(repr(s), prepr(s)) self.assertEqual(repr(s), urepr(s))
def test_float(self, s): self.assertEqual(repr(s), brepr(s)) self.assertEqual(repr(s), prepr(s)) self.assertEqual(repr(s), urepr(s))
def test_prepr_bytes(self, s): self.assertEqual('b' + repr(s), prepr(s))
def test_prepr_unicode(self, s): self.assertEqual('u' + repr(s), prepr(s))
def test_prepr_unicode(self, s): self.assertEqual('u'+repr(s), prepr(s))
def test_prepr_bytes(self, s): self.assertEqual('b'+repr(s), prepr(s))