(self)
| 39 | self.assertIn("full error", traceback.format_exc()) |
| 40 | |
| 41 | def test_operation_failure(self): |
| 42 | exc = OperationFailure("operation failure test", 10, {"errmsg": "error"}) |
| 43 | self.assertIn("full error", str(exc)) |
| 44 | try: |
| 45 | raise exc |
| 46 | except OperationFailure: |
| 47 | self.assertIn("full error", traceback.format_exc()) |
| 48 | |
| 49 | def _test_unicode_strs(self, exc): |
| 50 | self.assertEqual( |
nothing calls this directly
no test coverage detected