def METHOD_NAME(self):
    err = ValidationError('field', 'problem', origin='origin')
    self.assertEqual(str(err), "Problem with field field: problem")
    self.assertEqual(repr(err), (
        "ValidationError("
        "field='field', problem='problem', hint=None, origin='origin')"))