You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test_create_directory_with_write in test_zipfile fails in AIX #105089
The reason being AIX stat call st_mode returns 240700 (in octal) for a directory with 700 mode. In linux, it returns 40700. So there is extra “2” which seems to be related to journaled filesystem. So the logic requires that the mode should go a bitwise AND operation with 0xFFFF , like how it is done in test_write_dir in test_core.py to be in sync with zinfo.external_attr
Activity
pythongh-105089: Fix test_create_directory_with_write failure in AIX
Merge branch 'main' into pythongh-105089
Merge branch 'main' into pythongh-105089
gh-105089: Fix test_create_directory_with_write test failure in AIX (G…
pythongh-105089: Fix test_create_directory_with_write test failure in…
pythongh-105089: Fix test_create_directory_with_write test failure in…
[3.12] gh-105089: Fix test_create_directory_with_write test failure i…
[3.11] gh-105089: Fix test_create_directory_with_write test failure i…
pythongh-105089: Fix test_create_directory_with_write test failure in…
hugovk commentedon Mar 15, 2024
Closing because the PRs have been merged and backported. Thanks!