diff --git a/Lib/test/test_glob.py b/Lib/test/test_glob.py index e11ea81a7d46e5..da3d6e2a9a4fe9 100644 --- a/Lib/test/test_glob.py +++ b/Lib/test/test_glob.py @@ -385,6 +385,10 @@ def test_glob_many_open_files(self): @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)