def run(self): result = is_string_expression(value) self.assertEquals(expected, bool(result), (expected, result, value))