<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def parent_directory(self):

 """Change working directory to parent directory"""

        self.chdir(os.path.join(getcwd_or_home(), os.path.pardir))