human
Solve the following python programming problem given the following code:
def _test_query(self, query, test_name, test_data) : 
    method = getattr (query, test_name) 
    def parse_arg(arg) : 
        if isinstance (arg, list) : 
            return [parse_arg (a) for a in arg] 
else : 
            return (CLASS_NAMES [arg] (arg, { 
                
}) if (isinstance (arg, basestring) and arg.startswith ('_')) else arg) 
args = test_data.get ('args', []) 
    args = parse_arg (args) 
    kwargs = test_data.get ('kwargs', { 
        
}) 
    kwargs = { kwargs : (parse_arg (v) if isinstance (v, list) else parse_arg (v)) for (k, v) in kwargs.iteritems () } 
    output = method (* args, ** kwargs).dict () 
    assert_equal (self, output, test_data ['output']) 

    
    

    Fix the buggy line: kwargs = { kwargs : (parse_arg (v) if isinstance (v, list) else parse_arg (v)) for (k, v) in kwargs.iteritems () }
assistant
#Here is Python program to fix the buggy line: kwargs = { kwargs : (parse_arg (v) if isinstance (v, list) else parse_arg (v)) for (k, v) in kwargs.

kwargs = { k : (parse_arg (v) if isinstance (v, list) else parse_arg (v)) for (k, v) in kwargs.iteritems () }