Skip to content

Commit 88b4b43

Browse files
[3.13] gh-109959: Skip test_glob.test_selflink() flaky test (GH-128812) (#128821)
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 1ec36a6 commit 88b4b43

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
@@ -510,6 +510,10 @@ def fn(pat):
510510
@skip_unless_symlink
511511
class SymlinkLoopGlobTests(unittest.TestCase):
512512

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

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy