Skip to content

Commit

Permalink
[3.12] gh-109959: Skip test_glob.test_selflink() flaky test (GH-128812)…
Browse files Browse the repository at this point in the history
… (#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>
  • Loading branch information
miss-islington and vstinner authored Jan 14, 2025
1 parent 54c9597 commit febe67b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Lib/test/test_glob.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit febe67b

Please sign in to comment.