Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27b490c commit b599c61Copy full SHA for b599c61
1 file changed
Lib/test/test_pathlib.py
@@ -1549,7 +1549,7 @@ def test_mkdir_parents(self):
1549
self.assertTrue(p.is_dir())
1550
if os.name != 'nt':
1551
# the directory's permissions follow the mode argument
1552
- self.assertEqual(stat.S_IMODE(p.stat().st_mode), 0o555 & mode)
+ self.assertEqual(stat.S_IMODE(p.stat().st_mode), 0o7555 & mode)
1553
# the parent's permissions follow the default process settings
1554
self.assertEqual(stat.S_IMODE(p.parent.stat().st_mode), mode)
1555
0 commit comments