Skip to content

Commit 387dcea

Browse files
committed
Revise test to capture new expectation.
1 parent 8f09d15 commit 387dcea

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

tests/test_path.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -515,14 +515,12 @@ def test_eq_hash(self, alpharep):
515515
root = zipfile.Path(alpharep)
516516
assert root in {root}
517517

518+
@__import__('pytest').mark.xfail(reason="Not implemented")
518519
@pass_alpharep
519520
def test_is_symlink(self, alpharep):
520-
"""
521-
See python/cpython#82102 for symlink support beyond this object.
522-
"""
523-
524521
root = zipfile.Path(alpharep)
525-
assert not root.is_symlink()
522+
assert not root.joinpath('a.txt').is_symlink()
523+
assert root.joinpath('n.txt').is_symlink()
526524

527525
@pass_alpharep
528526
def test_relative_to(self, alpharep):

0 commit comments

Comments
 (0)