human
Solve the following python programming problem given the following code:
def construct_new_test_function(original_func, name, build_params) : 
    'Builds a new test function based on parameterized data.

    :param original_func: The original test function that is used as a template
    :param name: The fullname of the new test function
    :param build_params: A dictionary or list containing args or kwargs
        for the new test
    :return: A new function object
    ' 
    new_func = types.FunctionType (six.get_function_code (original_func), six.get_function_globals (original_func), name = new_func, argdefs = six.get_function_defaults (original_func)) 
    build_args = (build_params if isinstance (build_params, list) else []) 
    build_kwargs = (build_params if isinstance (build_params, dict) else { 
        
}) 
    def test_wrapper(func, test_args, test_kwargs) : 
        @ functools.wraps (func) 
        def wrapper(self) : 
            return func (self, * test_args, ** test_kwargs) 
return wrapper 
return test_wrapper (new_func, build_args, build_kwargs) 

    
    

    Fix the buggy line: new_func = types.FunctionType (six.get_function_code (original_func), six.get_function_globals (original_func), name = new_func, argdefs = six.get_function_defaults (original_func))
assistant
#Here is Python program to fix the buggy line: new_func = types.

new_func = types.FunctionType (six.get_function_code (original_func), six.get_function_globals (original_func), name = name, argdefs = six.get_function_defaults (original_func))