https://github.com/python/cpython/commit/1153e66e20124b8f3484bcaddbc0e252d31161a6
commit: 1153e66e20124b8f3484bcaddbc0e252d31161a6
branch: main
author: Victor Stinner <[email protected]>
committer: vstinner <[email protected]>
date: 2025-01-14T11:18:52+01:00
summary:

gh-109959: Skip test_glob.test_selflink() flaky test (#128812)

files:
M Lib/test/test_glob.py

diff --git a/Lib/test/test_glob.py b/Lib/test/test_glob.py
index 00187a3fb3537d..1a836e34e8712f 100644
--- a/Lib/test/test_glob.py
+++ b/Lib/test/test_glob.py
@@ -511,6 +511,10 @@ def fn(pat):
 @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)

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to