diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2002-03-15 13:50:54 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2002-03-15 13:50:54 (GMT) |
commit | e89f128a604d157254a873b4901b83f97272a999 (patch) | |
tree | ff4c8d74f04360f30bb77c38b07654778a541094 /Lib/test/test_longexp.py | |
parent | 3d2b549d567ff9b2a63f73091094534963606c55 (diff) | |
download | cpython-e89f128a604d157254a873b4901b83f97272a999.zip cpython-e89f128a604d157254a873b4901b83f97272a999.tar.gz cpython-e89f128a604d157254a873b4901b83f97272a999.tar.bz2 |
Skip test_longexp for MacPython on Mac OS X. It triggers a pathological realloc slowdown. Some tests with shorter expressions lead me to the conclusion that it will eventually finish, but it may take a few weeks:-)
2.2.1 candidate.
Diffstat (limited to 'Lib/test/test_longexp.py')
-rw-r--r-- | Lib/test/test_longexp.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Lib/test/test_longexp.py b/Lib/test/test_longexp.py index 8abb6db..00ece6d 100644 --- a/Lib/test/test_longexp.py +++ b/Lib/test/test_longexp.py @@ -1,10 +1,14 @@ # this test has a malloc problem on OS/2+EMX, so skip test in that environment import sys -from test_support import TestFailed +from test_support import TestFailed, TestSkipped REPS = 65580 +if sys.platform == 'mac': + import gestalt + if gestalt.gestalt('sysv') > 0x9ff: + raise TestSkipped, 'Triggers pathological malloc slowdown on OSX MacPython' if sys.platform == "os2emx": raise TestFailed, "OS/2+EMX port has malloc problems with long expressions" else: |