From: Christian Heimes Date: Sat, 23 Jul 2022 21:42:04 +0000 (+0200) Subject: gh-90385: Add skip_unless_symlink decorator to test_walk_symlink_location (GH-95182) X-Git-Tag: v3.12.0a1~871 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=23f6944c37e0d57c1e065d5f71a4cd0f5f5b3111;p=thirdparty%2FPython%2Fcpython.git gh-90385: Add skip_unless_symlink decorator to test_walk_symlink_location (GH-95182) --- diff --git a/Lib/test/test_pathlib.py b/Lib/test/test_pathlib.py index 6f3b2a4df890..e14b0fca5536 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.