human
Solve the following python programming problem given the following code:
def _run_test(self, host, path_info = '/', cookie_dict = None, action = None, set_email = None, set_admin = None, continue_url = None, method = 'GET') : 
    "Runs the login HTTP handler, returning information about the response.

    Args:
      host: The value of the HTTP Host header.
      path_info: The absolute path of the request.
      cookie_dict: A cookie dictionary with the existing cookies.
      action: Value of the 'action' query argument.
      set_email: Value of the 'email' query argument.
      set_admin: Value of the 'admin' query argument.
      continue_url: Value of the 'continue' query argument.
      method: The HTTP method (e.g., 'GET').

    Returns:
      Tuple (status, location, set_cookie, content_type) where each
        value is the value of the corresponding header from the
        response.
if no header exists, the value will be None. In the
        case of status, it will just return the integer status code
        and not the rest of the status message.
    " 
    environ = { 
        
} 
    wsgiref.util.setup_testing_defaults (environ) 
    environ ['SERVER_NAME'] = 'do_not_use' 
    environ ['SERVER_PORT'] = '666' 
    environ ['SERVER_PROTOCOL'] = 'HTTP/1.1' 
    environ ['HTTP_HOST'] = host 
    environ ['PATH_INFO'] = path_info 
    environ ['REQUEST_METHOD'] = method 
    if cookie_dict : 
        cookie = Cookie.SimpleCookie (path_info) 
        cookie_value = ';'.join ((m.OutputString () for m in cookie.values ())) 
        environ ['HTTP_COOKIE'] = cookie_value 
query_dict = { 
        
} 
    if action : 
        query_dict ['action'] = action 
if set_email : 
        query_dict ['email'] = set_email 
if set_admin : 
        query_dict ['admin'] = set_admin 
if continue_url : 
        query_dict ['continue'] = continue_url 
if query_dict : 
        environ ['QUERY_STRING'] = urllib.urlencode (query_dict) 
response_dict = { 
        
} 
    def start_response(status, headers) : 
        response_dict ['status'] = int (status.split (' ', 1) [0]) 
       ...

    
    

    Fix the buggy line: cookie = Cookie.SimpleCookie (path_info)
assistant
#Here is Python program to fix the buggy line: cookie = Cookie.

cookie = Cookie.SimpleCookie (cookie_dict)