Skip to content

Commit 1153e66

Browse files
authored
gh-109959: Skip test_glob.test_selflink() flaky test (#128812)
1 parent 24a8d92 commit 1153e66

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Lib/test/test_glob.py

+4
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,10 @@ def fn(pat):
511511
@skip_unless_symlink
512512
class SymlinkLoopGlobTests(unittest.TestCase):
513513

514+
# gh-109959: On Linux, glob._isdir() and glob._lexists() can return False
515+
# randomly when checking the "link/" symbolic link.
516+
# https://github.com/python/cpython/issues/109959#issuecomment-2577550700
517+
@unittest.skip("flaky test")
514518
def test_selflink(self):
515519
tempdir = TESTFN + "_dir"
516520
os.makedirs(tempdir)

0 commit comments

Comments
 (0)