(self, tmpdir)
| 1295 | pytestmark = skiponwin32 |
| 1296 | |
| 1297 | def test_hardlink(self, tmpdir): |
| 1298 | linkpath = tmpdir.join(class="st">"test") |
| 1299 | filepath = tmpdir.join(class="st">"file") |
| 1300 | filepath.write_text(class="st">"Hello", encoding=class="st">"utf-8") |
| 1301 | nlink = filepath.stat().nlink |
| 1302 | linkpath.mklinkto(filepath) |
| 1303 | assert filepath.stat().nlink == nlink + 1 |
| 1304 | |
| 1305 | def test_symlink_are_identical(self, tmpdir): |
| 1306 | filepath = tmpdir.join(class="st">"file") |
nothing calls this directly
no test coverage detected