8000 [3.13] gh-109959: Skip test_glob.test_selflink() flaky test (GH-128812) by miss-islington · Pull Request #128821 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

[3.13] gh-109959: Skip test_glob.test_selflink() flaky test (GH-128812) #128821

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 14, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
vstinner authored and miss-islington committed Jan 14, 2025
commit 4e22074c4ba39e0bcc8fab3d1729f16587755f61
4 changes: 4 additions & 0 deletions Lib/test/test_glob.py
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,10 @@ def fn(pat):
@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
Loading
0