MCPcopy Index your code
hub / github.com/ipython/ipython / test_no_link

Method test_no_link

tests/test_path.py:501–510  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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):

Callers

nothing calls this directly

Calls 3

dstMethod · 0.95
assert_content_equalMethod · 0.95

Tested by

no test coverage detected