From 23f6944c37e0d57c1e065d5f71a4cd0f5f5b3111 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Sat, 23 Jul 2022 23:42:04 +0200 Subject: gh-90385: Add skip_unless_symlink decorator to test_walk_symlink_location (GH-95182) --- Lib/test/test_pathlib.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/test/test_pathlib.py b/Lib/test/test_pathlib.py index 6f3b2a4..e14b0fc 100644 --- a/Lib/test/test_pathlib.py +++ b/Lib/test/test_pathlib.py @@ -2617,6 +2617,7 @@ class WalkTests(unittest.TestCase): 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. -- cgit v0.12