(self)
| 311 | os.chdir(self.workdir) |
| 312 | |
| 313 | def cleanup(self): |
| 314 | try: |
| 315 | TestCmd.TestCmd.cleanup(self) |
| 316 | os.chdir(self.original_workdir) |
| 317 | except AttributeError: |
| 318 | # When this is called during TestCmd.TestCmd.__del__ we can have |
| 319 | # both 'TestCmd' and 'os' unavailable in our scope. Do nothing in |
| 320 | # this case. |
| 321 | pass |
| 322 | |
| 323 | # |
| 324 | # Methods that change the working directory's content. |
no outgoing calls