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