(self)
| 2285 | |
| 2286 | @unittest.skipIf(hasattr(os, "link"), "os.link() is present") |
| 2287 | def test_hardlink_to_unsupported(self): |
| 2288 | P = self.cls(self.base) |
| 2289 | p = P / 'fileA' |
| 2290 | # linking to another path. |
| 2291 | q = P / 'dirA' / 'fileAA' |
| 2292 | with self.assertRaises(pathlib.UnsupportedOperation): |
| 2293 | q.hardlink_to(p) |
| 2294 | |
| 2295 | def test_rename(self): |
| 2296 | P = self.cls(self.base) |
nothing calls this directly
no test coverage detected