MCPcopy Create free account
hub / github.com/ipython/ipython / test_link_into_dir

Method test_link_into_dir

IPython/utils/tests/test_path.py:453–458  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

451
452 @skip_win32
453 def test_link_into_dir(self):
454 dst = self.dst("some_dir")
455 os.mkdir(dst)
456 path.link_or_copy(self.src, dst)
457 expected_dst = self.dst("some_dir", os.path.basename(self.src))
458 self.assert_inode_equal(self.src, expected_dst)
459
460 @skip_win32
461 def test_target_exists(self):

Callers

nothing calls this directly

Calls 2

dstMethod · 0.95
assert_inode_equalMethod · 0.95

Tested by

no test coverage detected