]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-90385: Add skip_unless_symlink decorator to test_walk_symlink_location (GH-95182)
authorChristian Heimes <christian@python.org>
Sat, 23 Jul 2022 21:42:04 +0000 (23:42 +0200)
committerGitHub <noreply@github.com>
Sat, 23 Jul 2022 21:42:04 +0000 (23:42 +0200)
Lib/test/test_pathlib.py

index 6f3b2a4df890bff7a951fdc663de445070ebea65..e14b0fca55360faca11327efd7afeb4eb7c1522c 100644 (file)
@@ -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.