Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1153e66

Browse filesBrowse files
authored
gh-109959: Skip test_glob.test_selflink() flaky test (#128812)
1 parent 24a8d92 commit 1153e66
Copy full SHA for 1153e66

File tree

1 file changed

+4
-0
lines changed
Filter options

1 file changed

+4
-0
lines changed

‎Lib/test/test_glob.py

Copy file name to clipboardExpand all lines: Lib/test/test_glob.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,10 @@ def fn(pat):
511511
@skip_unless_symlink
512512
class SymlinkLoopGlobTests(unittest.TestCase):
513513

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

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.