(self)
| 768 | os.rmdir(i) |
| 769 | |
| 770 | def test_choose_directory(self): |
| 771 | # mkdtemp can create directories in a user-selected directory |
| 772 | dir = tempfile.mkdtemp() |
| 773 | try: |
| 774 | os.rmdir(self.do_create(dir=dir)) |
| 775 | os.rmdir(self.do_create(dir=os_helper.FakePath(dir))) |
| 776 | finally: |
| 777 | os.rmdir(dir) |
| 778 | |
| 779 | @os_helper.skip_unless_working_chmod |
| 780 | def test_mode(self): |