(self, result, object, methodname, *args, **kwargs)
| 17 | # can't cope with arguments propagated to UserString |
| 18 | # (and we don't test with subclasses) |
| 19 | def checkequal(self, result, object, methodname, *args, **kwargs): |
| 20 | result = self.fixtype(result) |
| 21 | object = self.fixtype(object) |
| 22 | # we don't fix the arguments, because UserString can't cope with it |
| 23 | realresult = getattr(object, methodname)(*args, **kwargs) |
| 24 | self.assertEqual( |
| 25 | result, |
| 26 | realresult |
| 27 | ) |
| 28 | |
| 29 | def checkraises(self, exc, obj, methodname, *args, expected_msg=None): |
| 30 | obj = self.fixtype(obj) |
no test coverage detected