(self)
| 184 | class TestRmTree(BaseTest, unittest.TestCase): |
| 185 | |
| 186 | def test_rmtree_works_on_bytes(self): |
| 187 | tmp = self.mkdtemp() |
| 188 | victim = os.path.join(tmp, 'killme') |
| 189 | os.mkdir(victim) |
| 190 | create_file(os.path.join(victim, 'somefile'), 'foo') |
| 191 | victim = os.fsencode(victim) |
| 192 | self.assertIsInstance(victim, bytes) |
| 193 | shutil.rmtree(victim) |
| 194 | |
| 195 | @os_helper.skip_unless_symlink |
| 196 | def test_rmtree_fails_on_symlink_onerror(self): |
nothing calls this directly
no test coverage detected