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_brepr_unicode(self, s): self.assertEqual(repr(s), brepr(s))
def test_brepr_in_list(self, l): self.assertEqual(repr(l), brepr(l))
def test_brepr_bytes(self, s): self.assertEqual('b' + repr(s), brepr(s))
def test_prepr_bytes(self, s): self.assertEqual(repr(s), brepr(s))
def test_brepr_bytes(self, s): self.assertEqual('b'+repr(s), brepr(s))