def test_urlDecodeErrorReprPy3(self): """ URLDecodeError.__repr__ formats properly. """ self.assertEqual( "<URLDecodeError(errors=<class 'ValueError'>)>", repr(_URLDecodeError(ValueError)), )
def test_urlDecodeErrorReprPy2(self): """ URLDecodeError.__repr__ formats properly. """ self.assertEqual( "<URLDecodeError(errors=<type 'exceptions.ValueError'>)>", repr(_URLDecodeError(ValueError)), )