(self)
| 406 | rmtree(fn) |
| 407 | |
| 408 | def test_unoverwritable_fails(self): |
| 409 | #create a file clashing with directories in the env dir |
| 410 | for paths in self.ENV_SUBDIRS[:3]: |
| 411 | fn = os.path.join(self.env_dir, *paths) |
| 412 | with open(fn, 'wb') as f: |
| 413 | f.write(b'') |
| 414 | self.assertRaises((ValueError, OSError), venv.create, self.env_dir) |
| 415 | self.clear_directory(self.env_dir) |
| 416 | |
| 417 | # TODO: RUSTPYTHON |
| 418 | @unittest.expectedFailure |
nothing calls this directly
no test coverage detected