8000 gh-105089: Fix test_create_directory_with_write test failure in AIX by ayappanec · Pull Request #105228 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-105089: Fix test_create_directory_with_write test failure in AIX #105228

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 4 commits into from
Feb 1, 2024
Merged
Changes from 1 commit
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
Next Next commit
gh-105089: Fix test_create_directory_with_write failure in AIX
  • Loading branch information
ayappanec committed Jun 2, 2023
commit af6655ecfcd8f14ba88e56a19da7e4a5597d5c78
2 changes: 1 addition & 1 deletion Lib/test/test_zipfile/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -2872,7 +2872,7 @@ def test_create_directory_with_write(self):

directory = os.path.join(TESTFN2, "directory2")
os.mkdir(directory)
mode = os.stat(directory).st_mode
mode = os.stat(directory).st_mode & 0xFFFF
zf.write(directory, arcname="directory2/")
zinfo = zf.filelist[1]
self.assertEqual(zinfo.filename, "directory2/")
Expand Down
0