(self)
| 466 | |
| 467 | @skip_win32 |
| 468 | def test_no_link(self): |
| 469 | real_link = os.link |
| 470 | try: |
| 471 | del os.link |
| 472 | dst = self.dst("target") |
| 473 | path.link_or_copy(self.src, dst) |
| 474 | self.assert_content_equal(self.src, dst) |
| 475 | self.assert_inode_not_equal(self.src, dst) |
| 476 | finally: |
| 477 | os.link = real_link |
| 478 | |
| 479 | @skip_if_not_win32 |
| 480 | def test_windows(self): |
nothing calls this directly
no test coverage detected