Ejemplo n.º 1
0
 def test_complex(self, s):
     self.assertEqual(repr(s), brepr(s))
     self.assertEqual(repr(s), prepr(s))
     self.assertEqual(repr(s), urepr(s))
Ejemplo n.º 2
0
 def test_bool(self, s):
     self.assertEqual(repr(s), brepr(s))
     self.assertEqual(repr(s), prepr(s))
     self.assertEqual(repr(s), urepr(s))
Ejemplo n.º 3
0
 def test_float(self, s):
     self.assertEqual(repr(s), brepr(s))
     self.assertEqual(repr(s), prepr(s))
     self.assertEqual(repr(s), urepr(s))
Ejemplo n.º 4
0
 def test_prepr_bytes(self, s):
     self.assertEqual('b' + repr(s), prepr(s))
Ejemplo n.º 5
0
 def test_prepr_unicode(self, s):
     self.assertEqual('u' + repr(s), prepr(s))
Ejemplo n.º 6
0
 def test_prepr_unicode(self, s):
     self.assertEqual('u'+repr(s), prepr(s))
Ejemplo n.º 7
0
 def test_prepr_bytes(self, s):
     self.assertEqual('b'+repr(s), prepr(s))
 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_float(self, s):
     self.assertEqual(repr(s), brepr(s))
     self.assertEqual(repr(s), prepr(s))
     self.assertEqual(repr(s), urepr(s))
Ejemplo n.º 10
0
 def test_bool(self, s):
     self.assertEqual(repr(s), brepr(s))
     self.assertEqual(repr(s), prepr(s))
     self.assertEqual(repr(s), urepr(s))