8000 [3.12] gh-109959: Skip test_glob.test_selflink() flaky test (GH-12881… · python/cpython@febe67b · GitHub
[go: up one dir, main page]

Skip to content

Commit febe67b

Browse files
[3.12] gh-109959: Skip test_glob.test_selflink() flaky test (GH-128812) (#128834)
gh-109959: Skip test_glob.test_selflink() flaky test (GH-128812) (cherry picked from commit 1153e66) Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent 54c9597 commit febe67b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Lib/test/test_glob.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,10 @@ def test_glob_many_open_files(self):
385385
@skip_unless_symlink
386386
class SymlinkLoopGlobTests(unittest.TestCase):
387387

388+
# gh-109959: On Linux, glob._isdir() and glob._lexists() can return False
389+
# randomly when checking the "link/" symbolic link.
390+
# https://github.com/python/cpython/issues/109959#issuecomment-2577550700
391+
@unittest.skip("flaky test")
388392
def test_selflink(self):
389393
tempdir = TESTFN + "_dir"
390394
os.makedirs(tempdir)

0 commit comments

Comments
 (0)
0