Changeset 10 for python/trunk/Lib/test/test_tempfile.py
- Timestamp:
- Sep 3, 2010, 5:33:06 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk/Lib/test/test_tempfile.py
r2 r10 260 260 mode = stat.S_IMODE(os.stat(file.name).st_mode) 261 261 expected = 0600 262 if sys.platform in ('win32', 'os2emx', ' mac'):262 if sys.platform in ('win32', 'os2emx', 'os2knix', 'mac'): 263 263 # There's no distinction among 'user', 'group' and 'world'; 264 264 # replicate the 'user' bits. … … 479 479 mode &= 0777 # Mask off sticky bits inherited from /tmp 480 480 expected = 0700 481 if sys.platform in ('win32', 'os2emx', ' mac'):481 if sys.platform in ('win32', 'os2emx', 'os2knix', 'mac'): 482 482 # There's no distinction among 'user', 'group' and 'world'; 483 483 # replicate the 'user' bits.
Note:
See TracChangeset
for help on using the changeset viewer.