From 387dcea2ab13aedcc9f1c5a23ea5e83dfab441ea Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sun, 26 May 2024 11:58:23 -0400 Subject: [PATCH] Revise test to capture new expectation. --- tests/test_path.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tests/test_path.py b/tests/test_path.py index fadfc59..418771c 100644 --- a/tests/test_path.py +++ b/tests/test_path.py @@ -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):