Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit4b76671

Browse files
authored
pythonGH-118447: Fix FreeBSD test failures. (python#119170)
Apparently only macOS requires read permission to call `readlink()` on asymlink.
1 parent5307f44 commit4b76671

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎Lib/test/test_posixpath.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -663,6 +663,7 @@ def test_realpath_resolve_first(self):
663663
@os_helper.skip_unless_symlink
664664
@skip_if_ABSTFN_contains_backslash
665665
@unittest.skipIf(os.chmodnotinos.supports_follow_symlinks,"Can't set symlink permissions")
666+
@unittest.skipIf(sys.platform!="darwin","only macOS requires read permission to readlink()")
666667
deftest_realpath_unreadable_symlink(self):
667668
try:
668669
os.symlink(ABSTFN+"1",ABSTFN)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp