MCPcopy Index your code
hub / github.com/python/cpython / test_is_symlink

Method test_is_symlink

Lib/test/test_zipfile/_path/test_path.py:549–552  ·  view source on GitHub ↗
(self, alpharep)

Source from the content-addressed store, hash-verified

547
548 @pass_alpharep
549 def test_is_symlink(self, alpharep):
550 root = zipfile.Path(alpharep)
551 assert not root.joinpath('a.txt').is_symlink()
552 assert root.joinpath('n.txt').is_symlink()
553
554 @pass_alpharep
555 def test_relative_to(self, alpharep):

Callers

nothing calls this directly

Calls 2

joinpathMethod · 0.95
is_symlinkMethod · 0.45

Tested by

no test coverage detected