(self)
| 499 | |
| 500 | @skip_win32 |
| 501 | def test_no_link(self): |
| 502 | real_link = os.link |
| 503 | try: |
| 504 | del os.link |
| 505 | dst = self.dst("target") |
| 506 | path.link_or_copy(self.src, dst) |
| 507 | self.assert_content_equal(self.src, dst) |
| 508 | self.assert_inode_not_equal(self.src, dst) |
| 509 | finally: |
| 510 | os.link = real_link |
| 511 | |
| 512 | @skip_if_not_win32 |
| 513 | def test_windows(self): |
nothing calls this directly
no test coverage detected