Skip to content

Commit 8cf64a2

Browse files
authored
Apply suggestion from @vstinner
1 parent 6928e67 commit 8cf64a2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎Lib/test/test_os/test_os.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ def _get_file_attribute_mask():
9292
return mask
9393

9494

95+
# gh-126253: Ignore unknown attributes, such as 0x1_000_0000
96+
# (Directory flag of DOS file attribute in NTFS)
9597
FILE_ATTRIBUTE_MASK = _get_file_attribute_mask()
9698

9799

0 commit comments

Comments
 (0)