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