summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2025-01-14 10:18:52 (GMT)
committerGitHub <noreply@github.com>2025-01-14 10:18:52 (GMT)
commit1153e66e20124b8f3484bcaddbc0e252d31161a6 (patch)
tree9bef76a4a5d57610a1dcdfe6c7c1ecc74e338c19
parent24a8d920c1ec251a389fca6dedfb860d9f4bbc76 (diff)
downloadcpython-1153e66e20124b8f3484bcaddbc0e252d31161a6.zip
cpython-1153e66e20124b8f3484bcaddbc0e252d31161a6.tar.gz
cpython-1153e66e20124b8f3484bcaddbc0e252d31161a6.tar.bz2
gh-109959: Skip test_glob.test_selflink() flaky test (#128812)
-rw-r--r--Lib/test/test_glob.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_glob.py b/Lib/test/test_glob.py
index 00187a3..1a836e3 100644
--- a/Lib/test/test_glob.py
+++ b/Lib/test/test_glob.py
@@ -511,6 +511,10 @@ class GlobTests(unittest.TestCase):
@skip_unless_symlink
class SymlinkLoopGlobTests(unittest.TestCase):
+ # gh-109959: On Linux, glob._isdir() and glob._lexists() can return False
+ # randomly when checking the "link/" symbolic link.
+ # https://github.com/python/cpython/issues/109959#issuecomment-2577550700
+ @unittest.skip("flaky test")
def test_selflink(self):
tempdir = TESTFN + "_dir"
os.makedirs(tempdir)