summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2022-07-23 21:42:04 (GMT)
committerGitHub <noreply@github.com>2022-07-23 21:42:04 (GMT)
commit23f6944c37e0d57c1e065d5f71a4cd0f5f5b3111 (patch)
tree1243d7e12f0ed84a71d0e2098cda0adeb023b6fa
parent9762572d0aa3569ba82eeceb708ddea9f12918fd (diff)
downloadcpython-23f6944c37e0d57c1e065d5f71a4cd0f5f5b3111.zip
cpython-23f6944c37e0d57c1e065d5f71a4cd0f5f5b3111.tar.gz
cpython-23f6944c37e0d57c1e065d5f71a4cd0f5f5b3111.tar.bz2
gh-90385: Add skip_unless_symlink decorator to test_walk_symlink_location (GH-95182)
-rw-r--r--Lib/test/test_pathlib.py1
1 files changed, 1 insertions, 0 deletions
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.