summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_frozen.py
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2010-05-05 19:11:21 (GMT)
committerRonald Oussoren <ronaldoussoren@mac.com>2010-05-05 19:11:21 (GMT)
commit94f25283c9b6cb43791e23618b9bec0cc961a7cb (patch)
treec32622183a1e7020de5afb458288be48449a60a6 /Lib/test/test_frozen.py
parenta045f191b4670bbf201d6d56a50886694c26da3e (diff)
downloadcpython-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_frozen.py')
-rw-r--r--Lib/test/test_frozen.py13
1 files changed, 6 insertions, 7 deletions
diff --git a/Lib/test/test_frozen.py b/Lib/test/test_frozen.py
index 28186bb..11a366c 100644
--- a/Lib/test/test_frozen.py
+++ b/Lib/test/test_frozen.py
@@ -39,13 +39,12 @@ class FrozenTests(unittest.TestCase):
else:
self.fail("import __phello__.foo should have failed")
- if sys.platform != "mac": # On the Mac this import does succeed.
- try:
- import __phello__.foo
- except ImportError:
- pass
- else:
- self.fail("import __phello__.foo should have failed")
+ try:
+ import __phello__.foo
+ except ImportError:
+ pass
+ else:
+ self.fail("import __phello__.foo should have failed")
del sys.modules['__hello__']
del sys.modules['__phello__']