Skip to content

Commit

Permalink
Revise test to capture new expectation.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed May 26, 2024
1 parent 8f09d15 commit 387dcea
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions tests/test_path.py
Original file line number Diff line number Diff line change
Expand Up @@ -515,14 +515,12 @@ def test_eq_hash(self, alpharep):
root = zipfile.Path(alpharep)
assert root in {root}

@__import__('pytest').mark.xfail(reason="Not implemented")
@pass_alpharep
def test_is_symlink(self, alpharep):
"""
See python/cpython#82102 for symlink support beyond this object.
"""

root = zipfile.Path(alpharep)
assert not root.is_symlink()
assert not root.joinpath('a.txt').is_symlink()
assert root.joinpath('n.txt').is_symlink()

@pass_alpharep
def test_relative_to(self, alpharep):
Expand Down

0 comments on commit 387dcea

Please sign in to comment.