diff --git a/Lib/test/test_pathlib.py b/Lib/test/test_pathlib.py index 6f3b2a4df890bf..e14b0fca55360f 100644 --- a/Lib/test/test_pathlib.py +++ b/Lib/test/test_pathlib.py @@ -2617,6 +2617,7 @@ def test_walk_follow_symlinks(self): else: self.fail("Didn't follow symlink with follow_symlinks=True") + @os_helper.skip_unless_symlink def test_walk_symlink_location(self): # Tests whether symlinks end up in filenames or dirnames depending # on the `follow_symlinks` argument.