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

Commitd6d68cf

Browse files
miss-islingtonmhsmithfreakboy3742
authored
[3.13]gh-116622: Skip PosixPathTest.test_expanduser_pwd2 on platforms which don't support pwd.getpwall (GH-122521) (GH-122530)
(cherry picked from commit8844197)Co-authored-by: Malcolm Smith <smith@chaquo.com>Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
1 parent59d0d33 commitd6d68cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎Lib/test/test_posixpath.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
importunittest
66
fromposixpathimportrealpath,abspath,dirname,basename
77
fromtestimporttest_genericpath
8-
fromtest.supportimportimport_helper
8+
fromtest.supportimportget_attribute,import_helper
99
fromtest.supportimportcpython_only,os_helper
1010
fromtest.support.os_helperimportFakePath
1111
fromunittestimportmock
@@ -359,7 +359,7 @@ def test_expanduser_pwd(self):
359359
"no home directory on VxWorks")
360360
deftest_expanduser_pwd2(self):
361361
pwd=import_helper.import_module('pwd')
362-
forall_entryinpwd.getpwall():
362+
forall_entryinget_attribute(pwd,'getpwall')():
363363
name=all_entry.pw_name
364364

365365
# gh-121200: pw_dir can be different between getpwall() and

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp