Ejemplo n.º 1
0
 def test_urlDecodeErrorReprPy3(self):
     """
     URLDecodeError.__repr__ formats properly.
     """
     self.assertEqual(
         "<URLDecodeError(errors=<class 'ValueError'>)>",
         repr(_URLDecodeError(ValueError)),
     )
Ejemplo n.º 2
0
 def test_urlDecodeErrorReprPy3(self):
     """
     URLDecodeError.__repr__ formats properly.
     """
     self.assertEqual(
         "<URLDecodeError(errors=<class 'ValueError'>)>",
         repr(_URLDecodeError(ValueError)),
     )
Ejemplo n.º 3
0
 def test_urlDecodeErrorReprPy2(self):
     """
     URLDecodeError.__repr__ formats properly.
     """
     self.assertEqual(
         "<URLDecodeError(errors=<type 'exceptions.ValueError'>)>",
         repr(_URLDecodeError(ValueError)),
     )
Ejemplo n.º 4
0
 def test_urlDecodeErrorReprPy2(self):
     """
     URLDecodeError.__repr__ formats properly.
     """
     self.assertEqual(
         "<URLDecodeError(errors=<type 'exceptions.ValueError'>)>",
         repr(_URLDecodeError(ValueError)),
     )