diff options
author | Ronald Oussoren <ronaldoussoren@mac.com> | 2010-05-05 19:11:21 (GMT) |
---|---|---|
committer | Ronald Oussoren <ronaldoussoren@mac.com> | 2010-05-05 19:11:21 (GMT) |
commit | 94f25283c9b6cb43791e23618b9bec0cc961a7cb (patch) | |
tree | c32622183a1e7020de5afb458288be48449a60a6 /Lib/test/test_tempfile.py | |
parent | a045f191b4670bbf201d6d56a50886694c26da3e (diff) | |
download | cpython-94f25283c9b6cb43791e23618b9bec0cc961a7cb.zip cpython-94f25283c9b6cb43791e23618b9bec0cc961a7cb.tar.gz cpython-94f25283c9b6cb43791e23618b9bec0cc961a7cb.tar.bz2 |
Remove traces of MacOS9 support.
Fix for issue #7908
Diffstat (limited to 'Lib/test/test_tempfile.py')
-rw-r--r-- | Lib/test/test_tempfile.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Lib/test/test_tempfile.py b/Lib/test/test_tempfile.py index 823c3d4..b0976d2 100644 --- a/Lib/test/test_tempfile.py +++ b/Lib/test/test_tempfile.py @@ -20,9 +20,7 @@ has_spawnl = hasattr(os, 'spawnl') # TEST_FILES may need to be tweaked for systems depending on the maximum # number of files that can be opened at one time (see ulimit -n) -if sys.platform == 'mac': - TEST_FILES = 32 -elif sys.platform in ('openbsd3', 'openbsd4'): +if sys.platform in ('openbsd3', 'openbsd4'): TEST_FILES = 48 else: TEST_FILES = 100 @@ -265,7 +263,7 @@ class test__mkstemp_inner(TC): file = self.do_create() mode = stat.S_IMODE(os.stat(file.name).st_mode) expected = 0o600 - if sys.platform in ('win32', 'os2emx', 'mac'): + if sys.platform in ('win32', 'os2emx'): # There's no distinction among 'user', 'group' and 'world'; # replicate the 'user' bits. user = expected >> 6 @@ -488,7 +486,7 @@ class test_mkdtemp(TC): mode = stat.S_IMODE(os.stat(dir).st_mode) mode &= 0o777 # Mask off sticky bits inherited from /tmp expected = 0o700 - if sys.platform in ('win32', 'os2emx', 'mac'): + if sys.platform in ('win32', 'os2emx'): # There's no distinction among 'user', 'group' and 'world'; # replicate the 'user' bits. user = expected >> 6 |