def METHOD_NAME(self):
    str_type = "String Exception"
    str_value = "String Value"
    err = traceback.format_exception_only(str_type, str_value)
    self.assertEqual(len(err), 1)
    self.assertEqual(err[0], str_type + ': ' + str_value + '\n')