def METHOD_NAME(self):
    column_name = "datetime"
    column_value = "20230712103025"
    with self.assertRaisesRegex(Exception, "Unknown date/time format in results: '20230712103025'"):
        get_formatted_value(column_name, column_value)