mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
[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 1153e66e20
)
Co-authored-by: Victor Stinner <vstinner@python.org>
This commit is contained in:
parent
1ec36a62eb
commit
88b4b435fa
1 changed files with 4 additions and 0 deletions
|
@ -510,6 +510,10 @@ class GlobTests(unittest.TestCase):
|
|||
@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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue