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