(self)
| 787 | os.rmdir(i) |
| 788 | |
| 789 | def test_choose_directory(self): |
| 790 | # mkdtemp can create directories in a user-selected directory |
| 791 | dir = tempfile.mkdtemp() |
| 792 | try: |
| 793 | os.rmdir(self.do_create(dir=dir)) |
| 794 | os.rmdir(self.do_create(dir=os_helper.FakePath(dir))) |
| 795 | finally: |
| 796 | os.rmdir(dir) |
| 797 | |
| 798 | @os_helper.skip_unless_working_chmod |
| 799 | def test_mode(self): |