<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_mac_dot_app_dir(directory):
 """Returns parent directory of mac .app Args: directory (str):
 Current directory Returns: (str):
 Parent directory of mac .app """

    return os.path.dirname(os.path.dirname(os.path.dirname(directory)))